Parcourir la source

修复放机械手放立库没有更新tasknode状态

oyq28 il y a 7 mois
Parent
commit
2a2355f560

+ 4 - 0
imcs-admin-boot/imcs-business-biz/src/main/java/com/github/zuihou/business/operationManagementCenter/service/impl/TaskNodeServiceImpl.java

@@ -1814,6 +1814,10 @@ public class TaskNodeServiceImpl extends SuperServiceImpl<TaskNodeMapper, TaskNo
                         taskNode.setLoadingUserId(Long.valueOf(callBackJson.getString("updateUser")));
                     }
                 }
+                if("机械手放到立库".equals(taskNode.getNodeName())){
+                    taskNode.setExeStatus("3").setExeResult("1").setEndTime(new Date());
+                }
+
             } else {
                 if (callBackJson.containsKey(YunjianConstant.YUNJIAN_ROBORT_CACHE_FLAG)) {//带缓存位机器人的多步骤执行
                     int count = callBackJson.getString(taskNode.getId().toString() + "count") == null ? 0 :