From cc3126c2512a3ab541ce6a067267eabdc56b58a3 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期日, 29 一月 2023 10:36:58 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/common/service/CommonService.java |   24 ++++++++++++++++--------
 1 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/src/main/java/com/zy/common/service/CommonService.java b/src/main/java/com/zy/common/service/CommonService.java
index 07661fa..74c5e4b 100644
--- a/src/main/java/com/zy/common/service/CommonService.java
+++ b/src/main/java/com/zy/common/service/CommonService.java
@@ -121,19 +121,19 @@
                 whsType = 1;
                 start = 1;
                 end = 14;
-                if (null != wrkMastService.selectPakoutOfStaNo(104)) {
-                    start = 8;
-                    theCrnNo = 2;
-                }
+//                if (null != wrkMastService.selectPakoutOfStaNo(104)) {
+//                    start = 8;
+//                    theCrnNo = 2;
+//                }
                 break;
             case 203:
                 whsType = 2;
                 start = 8;
                 end = 21;
-                if (null != wrkMastService.selectPakoutOfStaNo(204)) {
-                    end = 14;
-                    theCrnNo = 2;
-                }
+//                if (null != wrkMastService.selectPakoutOfStaNo(204)) {
+//                    end = 14;
+//                    theCrnNo = 2;
+//                }
                 break;
             default:
                 throw new CoolException("妫�绱㈠簱浣嶅け璐ワ紝璇疯仈绯荤鐞嗗憳");
@@ -229,12 +229,14 @@
                             curRow = 1;
                             if (null != theCrnNo) {
                                 curRow = 8;
+                                crnNo1 = crnNo1 + 1;
                             }
                             break;
                         case 2:
                             curRow = 7;
                             if (null != theCrnNo) {
                                 curRow = 14;
+                                crnNo1 = crnNo1 + 1;
                             }
                             break;
                         case 3:
@@ -258,12 +260,14 @@
                             curRow = 15;
                             if (null != theCrnNo) {
                                 curRow = 8;
+                                crnNo1 = crnNo1 - 1;
                             }
                             break;
                         case 4:
                             curRow = 21;
                             if (null != theCrnNo) {
                                 curRow = 14;
+                                crnNo1 = crnNo1 - 1;
                             }
                             break;
                         default:
@@ -317,6 +321,10 @@
                     }
                 }
             }
+//            LocMast locMast0 = locMastService.findOutMost(locMasts.stream().map(LocMast::getLocNo).distinct().collect(Collectors.toList()));
+//            if (!Cools.isEmpty(locMast0)) {
+//                locMast = locMast0;
+//            }
             // 鍥犲簱浣嶇Щ杞�侀渶棰勭暀绌哄簱浣� todo:luxiaotao
 //            if (!locMastService.checkEmptyCount(locMast)) {
 //                locMast = null;

--
Gitblit v1.9.1