From 1286f6fd5625d3d058d1dcff11b8fda303d6c455 Mon Sep 17 00:00:00 2001 From: zhangc <zc@123> Date: 星期二, 11 三月 2025 10:28:43 +0800 Subject: [PATCH] 四期 --- src/main/java/com/zy/asrs/entity/param/LocDetlAdjustParam.java | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/param/LocDetlAdjustParam.java b/src/main/java/com/zy/asrs/entity/param/LocDetlAdjustParam.java index 2d3a845..10b159e 100644 --- a/src/main/java/com/zy/asrs/entity/param/LocDetlAdjustParam.java +++ b/src/main/java/com/zy/asrs/entity/param/LocDetlAdjustParam.java @@ -31,21 +31,29 @@ private Double count; // 閿�鍞鍗曞彿 + private String orderNo; + + // 閿�鍞鍗曞彿 private String threeCode; //閿�鍞鍗曡鍙� private String deadTime; - //鏂欑鐮� + //璐ф灦鐮� private String suppCode; - public LocDetlAdjust(String matnr, String batch, Double count, String threeCode, String deadTime, String suppCode) { + // 宸ュ簭 + private Integer processSts; + + public LocDetlAdjust(String matnr, String batch, Double count, String orderNo,String threeCode, String deadTime, String suppCode, Integer processSts) { this.matnr = matnr; this.batch = batch; this.count = count; + this.orderNo = orderNo; this.threeCode = threeCode; this.deadTime = deadTime; this.suppCode = suppCode; + this.processSts = processSts; } } @@ -57,14 +65,14 @@ for (LocDetlAdjust adjust : list) { boolean exit = false; for (LocDetlAdjust copy : copyList) { - if (adjust.getMatnr().equals(copy.getMatnr()) && Cools.eq(adjust.getBatch(), copy.getBatch())) { + if (adjust.getMatnr().equals(copy.getMatnr()) && Cools.eq(adjust.getBatch(), copy.getBatch()) && Cools.eq(adjust.getSuppCode(),copy.getSuppCode()) && Cools.eq(adjust.getThreeCode(),copy.getThreeCode()) && Cools.eq(adjust.getDeadTime(),copy.getDeadTime())) { copy.setCount(copy.getCount() + adjust.getCount()); exit = true; break; } } if (!exit) { - copyList.add(new LocDetlAdjustParam.LocDetlAdjust(adjust.getMatnr(), adjust.getBatch(), adjust.getCount(), adjust.getThreeCode(), adjust.getDeadTime(),adjust.getSuppCode())); + copyList.add(new LocDetlAdjustParam.LocDetlAdjust(adjust.getMatnr(), adjust.getBatch(), adjust.getCount(),adjust.getOrderNo(), adjust.getThreeCode(), adjust.getDeadTime(),adjust.getSuppCode(),adjust.getProcessSts())); } } list = copyList; -- Gitblit v1.9.1