Commit 3143326b18900a9e08340b564a994ed6c6db10a2
1 parent
518b905e
fix:【bpm】calculateUsersByActivity 忽略数据权限,避免过滤导致找不到候选人,对应 https://t.zsxq.com/8IG6p
Showing
1 changed file
with
1 additions
and
0 deletions
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/framework/flowable/core/candidate/BpmTaskCandidateInvoker.java
| ... | ... | @@ -125,6 +125,7 @@ public class BpmTaskCandidateInvoker { |
| 125 | 125 | }); |
| 126 | 126 | } |
| 127 | 127 | |
| 128 | + @DataPermission(enable = false) // 忽略数据权限,避免因为过滤,导致找不到候选人 | |
| 128 | 129 | public Set<Long> calculateUsersByActivity(BpmnModel bpmnModel, String activityId, |
| 129 | 130 | Long startUserId, String processDefinitionId, Map<String, Object> processVariables) { |
| 130 | 131 | // 如果是 CallActivity 子流程,不进行计算候选人 | ... | ... |