From 6d6d85bb7a7108f20fcb13993b5248ec7d079fad Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期三, 10 四月 2024 09:57:35 +0800
Subject: [PATCH] 库位修改

---
 src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java b/src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java
index c2b575b..5a25ca3 100644
--- a/src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java
+++ b/src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java
@@ -169,6 +169,9 @@
 //        //鐩爣浣�
 //        agvTaskParamList.add(new AgvTaskParam(agvWrkMast.getLocNo()));
 
+        if(agvWrkMast.getIoType() == 53 || agvWrkMast.getIoType() == 57 ){
+            agvWrkMast.setWrkNo(-agvWrkMast.getWrkNo());
+        }
         agvTaskCreateParam.setTaskCode(agvWrkMast.getWrkNo().toString());
         agvTaskCreateParam.setTaskTyp("F01");
         agvTaskCreateParam.setPositionCodePath(agvTaskParamList);

--
Gitblit v1.9.1