From e90dba0edc93be26e1509cfb2ec1d0681eb86e48 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期三, 27 八月 2025 08:37:04 +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