From de14adf3250bfecdf41600aa0ea8789111523ad1 Mon Sep 17 00:00:00 2001
From: zhangchao <zc857179121@qq.com>
Date: 星期一, 04 十一月 2024 09:43:36 +0800
Subject: [PATCH] Merge branch 'phyzwms2' into phyzasrs-erp

---
 src/main/java/com/zy/asrs/task/handler/AutoMoveTwoAndThreeGoOneHandler.java |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/asrs/task/handler/AutoMoveTwoAndThreeGoOneHandler.java b/src/main/java/com/zy/asrs/task/handler/AutoMoveTwoAndThreeGoOneHandler.java
index bb9bbca..82a15f8 100644
--- a/src/main/java/com/zy/asrs/task/handler/AutoMoveTwoAndThreeGoOneHandler.java
+++ b/src/main/java/com/zy/asrs/task/handler/AutoMoveTwoAndThreeGoOneHandler.java
@@ -130,13 +130,16 @@
 
             int code = Integer.parseInt(jsonObject.get("code").toString());
             if(code != 0){
-                throw new CoolException("璋冪敤AGV鍝嶅簲閿欒");
+                //TODO 寮犺秴
+                //throw new CoolException("璋冪敤AGV鍝嶅簲閿欒");
+                return code;
             }
             success = true;
             return code;
         }catch (Exception e){
             log.error(e.getMessage());
-            throw new CoolException("璋冪敤AGV鍝嶅簲閿欒");
+            //throw new CoolException("璋冪敤AGV鍝嶅簲閿欒");
+            return 1;
         }finally {
             apiLogService.save(
                     namespace,

--
Gitblit v1.9.1