From d1ebf5f7e43871a61ad5c751d559580eddc439f8 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期六, 07 十月 2023 13:37:00 +0800 Subject: [PATCH] #新增许可证 --- src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java | 7 ++++++- 1 files changed, 6 insertions(+), 1 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 9671a2f..8d90d1d 100644 --- a/src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java +++ b/src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java @@ -130,7 +130,12 @@ AgvTaskkDescribeParam agvTaskkDescribeParam = new AgvTaskkDescribeParam(); agvTaskParam.setTaskDescribe(agvTaskkDescribeParam); //AgvTaskParam - agvTaskParam.setTaskCode(agvWrkMast.getWrkNo().toString()); + if(agvWrkMast.getIoType() == 53 || agvWrkMast.getIoType() == 57){ + agvTaskParam.setTaskCode(-agvWrkMast.getWrkNo() + ""); + }else{ + agvTaskParam.setTaskCode(agvWrkMast.getWrkNo() + ""); + } + agvTaskParam.setTaskPriority(agvWrkMast.getIoPri().intValue()); //AgvTaskkDescribeParam -- Gitblit v1.9.1