From 204e15023a4443ac2849f732763ee41ee2918f06 Mon Sep 17 00:00:00 2001 From: lsh <lsh123456> Date: 星期二, 07 三月 2023 13:16:47 +0800 Subject: [PATCH] # --- src/main/java/com/zy/common/model/MatDto.java | 36 ++++++++++++++++++++++++++++++------ 1 files changed, 30 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/zy/common/model/MatDto.java b/src/main/java/com/zy/common/model/MatDto.java index f3c808f..358e924 100644 --- a/src/main/java/com/zy/common/model/MatDto.java +++ b/src/main/java/com/zy/common/model/MatDto.java @@ -13,6 +13,18 @@ private String matnr; // 鐗╂枡鍚嶇О + private String maknx; + + // 搴撲綅瑙勬牸 + private String specs; + + // 鐗╂枡鏁伴噺 + private Double count; + + // 搴撲綅鏁伴噺 + private Double total; + + // 鐗╂枡鍚嶇О private String model; // 鏉$爜 @@ -20,12 +32,6 @@ // 璁㈠崟缂栧彿 private String orderNo; - - // 宸插嚭 - private Double count; - - // 鎬绘暟閲� - private Double total; public MatDto() { } @@ -38,4 +44,22 @@ this.count = orderDetl.getQty(); this.total = orderDetl.getAnfme(); } + public MatDto(String matNo, String maknx, Double count) { + this.matnr = matNo; + this.maknx = maknx; + this.count = count; + } + public MatDto(String matNo, String maknx, Double count,String specs) { + this.specs = specs; + this.matnr = matNo; + this.maknx = maknx; + this.count = count; + } + public MatDto(String matNo, String maknx, Double count,Double total,String specs) { + this.specs = specs; + this.matnr = matNo; + this.maknx = maknx; + this.count = count; + this.total = total; + } } -- Gitblit v1.9.1