From 9e0e556bd76aa0bc856f3396e904842b637c79c3 Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期三, 04 十月 2023 20:28:01 +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