From 5a0592f51e21bebc2155fb94e5058deb0604299c Mon Sep 17 00:00:00 2001
From: 野心家 <1051256694@qq.com>
Date: 星期四, 08 六月 2023 08:32:54 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/common/web/WcsController.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/zy/common/web/WcsController.java b/src/main/java/com/zy/common/web/WcsController.java
index 035d519..46005e3 100644
--- a/src/main/java/com/zy/common/web/WcsController.java
+++ b/src/main/java/com/zy/common/web/WcsController.java
@@ -166,12 +166,12 @@
// 妫�绱㈠簱浣�
List<String> matNos = waitPakins.stream().map(WaitPakin::getMatnr).distinct().collect(Collectors.toList());
int rowCount = rowLastnoService.selectCount(null);
- Integer integer = 1;
+ Integer integer = 2;
for (int i = 1; i <= rowCount; i++) {
integer = rowLastnoService.selectNextWhsType();
BasCrnp crn_no = basCrnpService.selectOne(new EntityWrapper<BasCrnp>()
- .eq("crn_no", i));
- if (crn_no.getInEnable().equals("Y") && crn_no.getCrnSts().equals("3")){
+ .eq("crn_no", integer));
+ if (crn_no.getInEnable().equals("Y") && crn_no.getCrnSts() == 3){
break;
}
}
--
Gitblit v1.9.1