Commit 3017933710ad1f930267ae26c1e62786678ab77c
1 parent
1f2222cf
fix: Simple模型抄送节点在流程预测时未显示抄送人
Showing
1 changed file
with
3 additions
and
0 deletions
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/task/BpmProcessInstanceServiceImpl.java
| ... | ... | @@ -499,6 +499,9 @@ public class BpmProcessInstanceServiceImpl implements BpmProcessInstanceService |
| 499 | 499 | // 3. 抄送节点 |
| 500 | 500 | if (CollUtil.isEmpty(runActivityIds) && // 流程发起时:需要展示抄送节点,用于选择抄送人 |
| 501 | 501 | BpmSimpleModelNodeTypeEnum.COPY_NODE.getType().equals(node.getType())) { |
| 502 | + List<Long> candidateUserIds = getTaskCandidateUserList(bpmnModel, node.getId(), | |
| 503 | + startUserId, processDefinitionInfo.getProcessDefinitionId(), processVariables); | |
| 504 | + activityNode.setCandidateUserIds(candidateUserIds); | |
| 502 | 505 | return activityNode; |
| 503 | 506 | } |
| 504 | 507 | return null; | ... | ... |