|
|
|
@ -158,15 +158,14 @@ public class MaintenanceTaskCreateTask {
|
|
|
|
|
taskEntity.setProcessInstanceId(processInstanceId); |
|
|
|
|
taskService.updateById(taskEntity); |
|
|
|
|
this.pushTaskMessage(taskEntity); |
|
|
|
|
planEntity.setCreateTaskTime(DateUtil.now()); |
|
|
|
|
planMapper.updateById(planEntity); |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
if(ObjectUtil.isNotEmpty(taskService.getById(taskEntity.getId()))) { |
|
|
|
|
taskService.removeById(taskEntity.getId()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
planEntity.setCreateTaskTime(DateUtil.now()); |
|
|
|
|
planMapper.updateById(planEntity); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|