fix(hisTask) add

approve-sys
bob 2 years ago
parent 9dc6c559d2
commit 075afa1159

@ -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;
} }
} }

Loading…
Cancel
Save