fix - 修复加签审批人操作异常
This commit is contained in:
parent
635c81107b
commit
ec913b776a
@ -325,14 +325,6 @@ public class BpmnProcessTaskServiceImpl implements BpmnProcessTaskService {
|
||||
}
|
||||
saveAttachment(dto.getAttachmentList(), instance.getId(), task.getId());
|
||||
|
||||
// 完成任务,审批通过
|
||||
// if (StringUtils.hasLength(task.getExecutionId())) {
|
||||
taskService.complete(task.getId(), runtimeService.getVariables(task.getExecutionId()));
|
||||
// } else {
|
||||
//加签子任务 没有executionId
|
||||
// taskService.complete(task.getId());
|
||||
// }
|
||||
|
||||
//add by zuoqinbo 处理加签[分为向前加签和向后加签]或转交的任务
|
||||
String parentTaskId = task.getParentTaskId();
|
||||
if (StringUtils.hasLength(parentTaskId)) {
|
||||
@ -360,6 +352,8 @@ public class BpmnProcessTaskServiceImpl implements BpmnProcessTaskService {
|
||||
}
|
||||
}
|
||||
}
|
||||
// 完成任务,审批通过
|
||||
taskService.complete(task.getId(), runtimeService.getVariables(task.getExecutionId()));
|
||||
}
|
||||
|
||||
private void recursionCompleteParentTask(String parentTaskId) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user