From dfc9552392f9f973ab52e55d58a7ae2acdaeb1f3 Mon Sep 17 00:00:00 2001 From: zhangc <zc@123> Date: 星期日, 09 三月 2025 14:19:43 +0800 Subject: [PATCH] 四期 --- src/main/java/com/zy/asrs/entity/param/LocDetlAdjustParam.java | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 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 a00c9ed..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,17 +31,29 @@ private Double count; // 閿�鍞鍗曞彿 + private String orderNo; + + // 閿�鍞鍗曞彿 private String threeCode; //閿�鍞鍗曡鍙� private String deadTime; - public LocDetlAdjust(String matnr, String batch, Double count, String threeCode, String deadTime) { + //璐ф灦鐮� + private 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; } } @@ -53,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())); + 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