|
@ -318,6 +318,11 @@ public class YCLCKTask extends AbstractTask { |
|
|
} |
|
|
} |
|
|
taskObj.setRemark("任务取消"); |
|
|
taskObj.setRemark("任务取消"); |
|
|
taskObj.setTask_status(TaskStatus.CANCELED.getCode()); |
|
|
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); |
|
|
taskService.update(taskObj); |
|
|
} |
|
|
} |
|
|