feat:添加描述

This commit is contained in:
lizhixian 2025-02-25 16:29:35 +08:00
parent f2909d6bb6
commit b2ca263067
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ public class BpmTaskCandidateStartUserSelectStrategy extends AbstractBpmTaskCand
Map<String, List<Long>> startUserSelectAssignees = FlowableUtils.getStartUserSelectAssignees(processInstance);
Assert.notNull(startUserSelectAssignees, "流程实例({}) 的发起人自选审批人不能为空",
execution.getProcessInstanceId());
// 获得审批人如果不存在则直接返回空避免类型转换异常
// 获得审批人如果不存在则直接返回空fix: 用于节点预测时如果该节点不存在发起人自选审批人类型转换异常
List<Long> assignees = startUserSelectAssignees.get(execution.getCurrentActivityId());
if (CollUtil.isEmpty(assignees)){
return Sets.newLinkedHashSet();
@ -71,7 +71,7 @@ public class BpmTaskCandidateStartUserSelectStrategy extends AbstractBpmTaskCand
if (startUserSelectAssignees == null) {
return Sets.newLinkedHashSet();
}
// 获得审批人如果不存在则直接返回空避免类型转换异常
// 获得审批人如果不存在则直接返回空fix: 用于节点预测时如果该节点不存在发起人自选审批人类型转换异常
List<Long> assignees = startUserSelectAssignees.get(activityId);
if (CollUtil.isEmpty(assignees)){
return Sets.newLinkedHashSet();