fix:【bpm】calculateUsersByActivity 忽略数据权限,避免过滤导致找不到候选人,对应 https://t.zsxq.com/8IG6p

This commit is contained in:
YunaiV
2025-12-20 10:36:59 +08:00
parent 518b905ec9
commit 3143326b18

View File

@@ -125,6 +125,7 @@ public class BpmTaskCandidateInvoker {
});
}
@DataPermission(enable = false) // 忽略数据权限,避免因为过滤,导致找不到候选人
public Set<Long> calculateUsersByActivity(BpmnModel bpmnModel, String activityId,
Long startUserId, String processDefinitionId, Map<String, Object> processVariables) {
// 如果是 CallActivity 子流程,不进行计算候选人