From 21e9b4b7d15e10cec7c8ad0b14006f225e16de1c Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期六, 08 六月 2024 09:24:54 +0800
Subject: [PATCH] #

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

diff --git a/src/main/java/com/zy/common/service/CommonService.java b/src/main/java/com/zy/common/service/CommonService.java
index da9f631..63f49d7 100644
--- a/src/main/java/com/zy/common/service/CommonService.java
+++ b/src/main/java/com/zy/common/service/CommonService.java
@@ -238,7 +238,7 @@
                 if (Utils.isShallowLoc(slaveProperties, locNo)) {
                     continue;
                 }
-                String shallowLocNo = Utils.getShallowLoc5(slaveProperties, locNo,whsType);
+                String shallowLocNo = Utils.getShallowLoc(slaveProperties, locNo);
                 // 妫�娴嬬洰鏍囧簱浣嶆槸鍚︿负绌哄簱浣�
                 LocMast shallowLoc = locMastService.selectById(shallowLocNo);
                 if (shallowLoc != null && shallowLoc.getLocSts().equals("O")) {
@@ -277,7 +277,7 @@
                     if (Utils.isShallowLoc(slaveProperties, loc.getLocNo())) {
                         continue;
                     }
-                    String shallowLocNo = Utils.getShallowLoc5(slaveProperties, loc.getLocNo(),whsType);
+                    String shallowLocNo = Utils.getShallowLoc(slaveProperties, loc.getLocNo());
                     // 妫�娴嬬洰鏍囧簱浣嶆槸鍚︿负绌哄簱浣�
                     LocMast shallowLoc = locMastService.selectById(shallowLocNo);
                     if (shallowLoc != null && shallowLoc.getLocSts().equals("O")) {
@@ -332,13 +332,13 @@
             List<LocMast> locMasts = locMastService.selectList(new EntityWrapper<LocMast>()
                     .eq("row1", nearRow)
                     .eq("loc_sts", "O")
-                    .orderBy("lev1",true).orderBy("bay1",true));
+                    .orderBy("inv_wh",false).orderBy("lev1",true).orderBy("bay1",true));
             for (LocMast locMast1 : locMasts) {
                 if (!VersionUtils.locMoveCheckLocTypeComplete(locMast1, locTypeDto)) {
                     continue;
                 }
                 if (Utils.BooleanWhsTypeStaIoType(whsType)){
-                    String shallowLoc = Utils.getDeepLoc5(slaveProperties, locMast1.getLocNo(),whsType);
+                    String shallowLoc = Utils.getDeepLoc(slaveProperties, locMast1.getLocNo());
                     LocMast locMast2 = locMastService.selectOne(new EntityWrapper<LocMast>()
                             .eq("loc_no", shallowLoc).eq("loc_sts", "O"));
                     if (!Cools.isEmpty(locMast2)) {
@@ -359,7 +359,7 @@
                         continue;
                     }
                     if (Utils.BooleanWhsTypeStaIoType(whsType)){
-                        String shallowLoc = Utils.getDeepLoc5(slaveProperties, locMast1.getLocNo(),whsType);
+                        String shallowLoc = Utils.getDeepLoc(slaveProperties, locMast1.getLocNo());
                         LocMast locMast2 = locMastService.selectOne(new EntityWrapper<LocMast>()
                                 .eq("loc_no", shallowLoc).eq("loc_sts", "O"));
                         if (!Cools.isEmpty(locMast2)) {

--
Gitblit v1.9.1