From 7c1af4c63e66754f0868c1a501f4895f9cbc9213 Mon Sep 17 00:00:00 2001 From: zhangchao <zc857179121@qq.com> Date: 星期五, 15 十一月 2024 09:29:12 +0800 Subject: [PATCH] 双单位 --- src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java | 5 +++++ 1 files changed, 5 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 b42f5b7..63faab5 100644 --- a/src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java +++ b/src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java @@ -225,6 +225,7 @@ } agvTaskCreateParam.setTaskCode(agvWrkMast.getWrkNo().toString()); switch (agvWrkMast.getIoType()) { + case 114: case 108: case 12: agvTaskCreateParam.setTaskTyp("F06"); @@ -283,13 +284,17 @@ int code = Integer.parseInt(jsonObject.get("code").toString()); if(code != 0){ + //TODO 寮犺秴 throw new CoolException("璋冪敤AGV鍝嶅簲閿欒"); + //return code; } success = true; return code; }catch (Exception e){ log.error(e.getMessage()); + //TODO 寮犺秴 throw new CoolException("璋冪敤AGV鍝嶅簲閿欒"); + //return 1; }finally { apiLogService.save( namespace, -- Gitblit v1.9.1