Commit b2ca263067661919b0eeec181058b228bfd45593
1 parent
f2909d6b
feat:添加描述
Showing
1 changed file
with
2 additions
and
2 deletions
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/framework/flowable/core/candidate/strategy/dept/BpmTaskCandidateStartUserSelectStrategy.java
| @@ -53,7 +53,7 @@ public class BpmTaskCandidateStartUserSelectStrategy extends AbstractBpmTaskCand | @@ -53,7 +53,7 @@ public class BpmTaskCandidateStartUserSelectStrategy extends AbstractBpmTaskCand | ||
| 53 | Map<String, List<Long>> startUserSelectAssignees = FlowableUtils.getStartUserSelectAssignees(processInstance); | 53 | Map<String, List<Long>> startUserSelectAssignees = FlowableUtils.getStartUserSelectAssignees(processInstance); |
| 54 | Assert.notNull(startUserSelectAssignees, "流程实例({}) 的发起人自选审批人不能为空", | 54 | Assert.notNull(startUserSelectAssignees, "流程实例({}) 的发起人自选审批人不能为空", |
| 55 | execution.getProcessInstanceId()); | 55 | execution.getProcessInstanceId()); |
| 56 | - // 获得审批人,如果不存在,则直接返回空,避免类型转换异常 | 56 | + // 获得审批人,如果不存在,则直接返回空,fix: 用于节点预测时,如果该节点不存在发起人自选审批人,类型转换异常 |
| 57 | List<Long> assignees = startUserSelectAssignees.get(execution.getCurrentActivityId()); | 57 | List<Long> assignees = startUserSelectAssignees.get(execution.getCurrentActivityId()); |
| 58 | if (CollUtil.isEmpty(assignees)){ | 58 | if (CollUtil.isEmpty(assignees)){ |
| 59 | return Sets.newLinkedHashSet(); | 59 | return Sets.newLinkedHashSet(); |
| @@ -71,7 +71,7 @@ public class BpmTaskCandidateStartUserSelectStrategy extends AbstractBpmTaskCand | @@ -71,7 +71,7 @@ public class BpmTaskCandidateStartUserSelectStrategy extends AbstractBpmTaskCand | ||
| 71 | if (startUserSelectAssignees == null) { | 71 | if (startUserSelectAssignees == null) { |
| 72 | return Sets.newLinkedHashSet(); | 72 | return Sets.newLinkedHashSet(); |
| 73 | } | 73 | } |
| 74 | - // 获得审批人,如果不存在,则直接返回空,避免类型转换异常 | 74 | + // 获得审批人,如果不存在,则直接返回空,fix: 用于节点预测时,如果该节点不存在发起人自选审批人,类型转换异常 |
| 75 | List<Long> assignees = startUserSelectAssignees.get(activityId); | 75 | List<Long> assignees = startUserSelectAssignees.get(activityId); |
| 76 | if (CollUtil.isEmpty(assignees)){ | 76 | if (CollUtil.isEmpty(assignees)){ |
| 77 | return Sets.newLinkedHashSet(); | 77 | return Sets.newLinkedHashSet(); |