feature(REQ-7125) - 兼容一些历史审批节点没人的情况

This commit is contained in:
wangli 2026-03-19 11:04:27 +08:00
parent 5e5b7648f4
commit 72ec578f6d

View File

@ -781,7 +781,9 @@ public class BpmnProcessTaskServiceImpl implements BpmnProcessTaskService {
flowNodeMode = Objects.equals(userTask.getLoopCharacteristics().getCompletionCondition(), AND_SIGN_EXPRESSION) ? BpmnFlowNodeMode.AND : BpmnFlowNodeMode.OR;
}
vo.setNodeMode(flowNodeMode);
vo.setAssigner(BpmnTaskDelegateAssigner.toObjectCompatible(instanceMap.get(INTERNAL_TASK_RELATION_ASSIGNEE_INFO + vo.getTaskId()).getValue()));
if (!CollectionUtils.sizeIsEmpty(instanceMap)) {
vo.setAssigner(BpmnTaskDelegateAssigner.toObjectCompatible(instanceMap.get(INTERNAL_TASK_RELATION_ASSIGNEE_INFO + vo.getTaskId()).getValue()));
}
}
return vos;
}