From 35e4b399293504212c4389cbc433c400a37fdd31 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期日, 18 八月 2024 14:52:06 +0800
Subject: [PATCH] 空托盘回流到一楼出库口完成任务

---
 src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
index 33730fb..439d277 100644
--- a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -44,6 +44,9 @@
 
     // 浜屾ゼ鍫嗗灈鏈哄搴斿叆搴撶珯鐐�
     private static final int[] secondFloorIn = new int[]{0,2061,2064,2067,2070,2073,2076};
+    // 鍫嗗灈鏈哄搴斾竴妤煎嚭搴撶珯鐐�
+    private static final int[] secondFloorOut = new int[]{0,3002,3003,3006,3008,3009,3012};
+
 
     @Autowired
     private OrderService orderService;
@@ -1148,7 +1151,7 @@
         wrkMast.setIoPri(14D); // 浼樺厛绾�
         wrkMast.setCrnNo(crnNo);
         wrkMast.setSourceStaNo(secondFloorIn[crnNo]);
-        wrkMast.setStaNo(3013);
+        wrkMast.setStaNo(secondFloorOut[crnNo]);
         wrkMast.setLocNo("");
         wrkMast.setBarcode(param.getBarcode()); // 鎵樼洏鐮�
         wrkMast.setFullPlt("N"); // 婊℃澘锛歒
@@ -1165,7 +1168,7 @@
             throw new CoolException("淇濆瓨宸ヤ綔妗eけ璐�");
         }
         // 杩斿洖GWCS鐩爣淇℃伅
-        pushStaNoToGwcs(wrkMast.getSourceStaNo(),wrkMast.getStaNo(),workNo,param.getBarcode());
+        pushStaNoToGwcs(param.getPalletizingNo(),wrkMast.getSourceStaNo(),workNo,param.getBarcode());
 
         return R.ok("绌烘墭鍥炴祦璇锋眰鎴愬姛");
     }

--
Gitblit v1.9.1