From dd7e8e19cf99d0dc85b64b10c192cf3e4c3dafc9 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期五, 08 十二月 2023 13:22:49 +0800 Subject: [PATCH] # 显示器 --- src/main/java/com/zy/common/model/MatDto.java | 30 +++++++++++++++++++++++++----- 1 files changed, 25 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/zy/common/model/MatDto.java b/src/main/java/com/zy/common/model/MatDto.java index 358e924..6c3a90b 100644 --- a/src/main/java/com/zy/common/model/MatDto.java +++ b/src/main/java/com/zy/common/model/MatDto.java @@ -10,7 +10,7 @@ public class MatDto { // 鐗╂枡缂栧彿 - private String matnr; + private String matNo; // 鐗╂枡鍚嶇О private String maknx; @@ -27,6 +27,9 @@ // 鐗╂枡鍚嶇О private String model; + // 绠辩爜 + private String containerCode; + // 鏉$爜 private String batch; @@ -37,7 +40,7 @@ } public MatDto(OrderDetl orderDetl) { - this.matnr = orderDetl.getMatnr(); + this.matNo = orderDetl.getMatnr(); this.model = orderDetl.getModel(); this.batch = orderDetl.getBatch(); this.orderNo = orderDetl.getOrderNo(); @@ -45,21 +48,38 @@ this.total = orderDetl.getAnfme(); } public MatDto(String matNo, String maknx, Double count) { - this.matnr = matNo; + this.matNo = matNo; this.maknx = maknx; this.count = count; } public MatDto(String matNo, String maknx, Double count,String specs) { this.specs = specs; - this.matnr = matNo; + this.matNo = 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.matNo = matNo; this.maknx = maknx; this.count = count; this.total = total; } + public MatDto(String matNo, String maknx, Double count,Double total,String specs,String containerCode) { + this.containerCode = containerCode; + this.specs = specs; + this.matNo = matNo; + this.maknx = maknx; + this.count = count; + this.total = total; + } + public MatDto(String matNo, String maknx, Double count,Double total,String specs,String containerCode,String orderNo) { + this.containerCode = containerCode; + this.specs = specs; + this.matNo = matNo; + this.maknx = maknx; + this.count = count; + this.total = total; + this.orderNo = orderNo; + } } -- Gitblit v1.9.1