From cd8ab30f720cd8ab32062024b00c7fe3294a56a4 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期一, 27 五月 2024 16:28:23 +0800
Subject: [PATCH] ERP接口

---
 src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java
index 64e403d..a8b4a0e 100644
--- a/src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java
@@ -648,10 +648,14 @@
             } else {
                 agvLocMastService.updateLocStsByLocNo(locNo,"F",wrkMast.getBarcode(),(short)getContainerTypeByloc(locNo));
             }
-            agvBasDevpService.updateLocStsAndBarcodeByDevNo(devNo,"O","",null);
+            if (wrkMast.getIoType() == 109){
+                agvLocMastService.updateLocStsByLocNo(devNo,"O","",(short)getContainerTypeByloc(devNo));
+            }else {
+                agvBasDevpService.updateLocStsAndBarcodeByDevNo(devNo,"O","",null);
+            }
         }
 
-        if(wrkMast.getIoType() != 1 && wrkMast.getIoType() != 10){
+        if(wrkMast.getIoType() != 1 && wrkMast.getIoType() != 10 && wrkMast.getIoType()!=111 && wrkMast.getIoType()!=108){
             //璁㈠崟鍥炴粴
             //List<AgvWrkDetl> agvWrkDetlList = agvWrkDetlService.selectByWrkNo(wrkMast.getWrkNo());
             List<AgvWrkDetl> agvWrkDetlList1 = agvWrkDetlService.selectList(new EntityWrapper<AgvWrkDetl>().eq("wrk_no", wrkMast.getWrkNo()));

--
Gitblit v1.9.1