|
|
@ -79,15 +79,7 @@ public class FlowHisTaskServiceImpl extends FlowServiceFactory implements IFlowH
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public AjaxResult updateTaskEndTime(String taskId) {
|
|
|
|
public AjaxResult updateTaskEndTime(String taskId) {
|
|
|
|
if (StringUtils.isBlank(taskId)) {
|
|
|
|
|
|
|
|
return AjaxResult.error("修改失败,任务id参数无效!");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
HistoricTaskInstance historicTaskInstance = historyService.createHistoricTaskInstanceQuery().taskId(taskId).singleResult();
|
|
|
|
|
|
|
|
if (Objects.isNull(historicTaskInstance)) {
|
|
|
|
|
|
|
|
return AjaxResult.error("修改失败,任务id无效!");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// historyService.createHistoricTaskInstanceQuery().taskId(taskId).
|
|
|
|
|
|
|
|
runtimeService.createChangeActivityStateBuilder().
|
|
|
|
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|