diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/YCLCKTask.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/YCLCKTask.java index 7ad82a5..375ebc5 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/YCLCKTask.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/YCLCKTask.java @@ -318,6 +318,11 @@ public class YCLCKTask extends AbstractTask { } taskObj.setRemark("任务取消"); taskObj.setTask_status(TaskStatus.CANCELED.getCode()); + String vehicleCode2 = taskObj.getVehicle_code2(); + //pdm_bd_workorder_two任务完成时,status改为3 + if(ObjectUtil.isNotEmpty(vehicleCode2)){ + workorderService.update(vehicleCode2,"1"); + } } taskService.update(taskObj); }