update - 解决枢智版本多人审批记录状态异常的问题

This commit is contained in:
wangli 2023-11-09 17:34:40 +08:00
parent e0f9e343d2
commit 936423a06d

View File

@ -395,12 +395,6 @@ public class BpmnTaskServiceImpl implements BpmnTaskService {
// 只有拒绝时, 为指定的 taskId 设置过拒绝变量
vo.setResult((BpmProcessInstanceResultEnum) instance.getProcessVariables().getOrDefault(TASK_COMPLETE_OPERATION_TYPE + vo.getTaskId(), APPROVED));
}
// if (count == 0 || taskDefinitionKeys.contains(vo.getTaskDefinitionKey())) {
// vo.setResult(processBusinessStatus);
//
// } else {
// vo.setResult(APPROVED);
// }
taskDefinitionKeys.add(vo.getTaskDefinitionKey());
List<Comment> taskComments = commentByTaskIdMap.getOrDefault(vo.getTaskId(), Collections.emptyList());