feat(REQ-4418) - 调整处理设置审批人的 nodeId 逻辑

This commit is contained in:
wangli 2025-08-26 11:25:16 +08:00
parent c95cdc16ac
commit 4fafdf650c

View File

@ -177,6 +177,9 @@ public class CustomApproveTaskCmd extends AbstractCommand<Void> implements Seria
if (CollectionUtils.isEmpty(logs)) { if (CollectionUtils.isEmpty(logs)) {
return; return;
} }
if (CollectionUtils.isEmpty(logs.get(0).getAssigneeFull())) {
return;
}
approver.setNodeId(logs.get(0).getAssigneeFull().get(0).getNodeId()); approver.setNodeId(logs.get(0).getAssigneeFull().get(0).getNodeId());
} }