fix 修复撤销失败
This commit is contained in:
parent
94797a2d2b
commit
67ab7a04ad
@ -572,7 +572,7 @@ public class ActProcessInstanceServiceImpl implements IActProcessInstanceService
|
||||
taskService.setAssignee(task.getId(), null);
|
||||
taskService.addComment(task.getId(), processInstanceId, TaskStatusEnum.CANCEL.getStatus(), LoginHelper.getLoginUser().getNickname() + ":撤销申请");
|
||||
}
|
||||
HistoricTaskInstance historicTaskInstance = QueryUtils.hisTaskInstanceQuery().finished().orderByHistoricTaskInstanceEndTime().asc().list().get(0);
|
||||
HistoricTaskInstance historicTaskInstance = QueryUtils.hisTaskInstanceQuery(processInstanceId).finished().orderByHistoricTaskInstanceEndTime().asc().list().get(0);
|
||||
List<String> nodeIds = StreamUtils.toList(taskList, Task::getTaskDefinitionKey);
|
||||
runtimeService.createChangeActivityStateBuilder()
|
||||
.processInstanceId(processInstanceId)
|
||||
|
Loading…
x
Reference in New Issue
Block a user