feat(REQ-5965) - 调整查询条件的逻辑
This commit is contained in:
parent
1800d98711
commit
98ec67641f
@ -56,7 +56,7 @@ public class CustomGetConditionPermissionsCmd extends AbstractCommand<List<Condi
|
||||
return Collections.emptyList();
|
||||
}
|
||||
BpmnModel bpmnModel = ProcessDefinitionUtil.getBpmnModel(processInstance.getProcessDefinitionId());
|
||||
FlowElement flowElement = bpmnModel.getFlowElement(tasks.get(0).getId());
|
||||
FlowElement flowElement = bpmnModel.getFlowElement(tasks.get(0).getTaskDefinitionKey());
|
||||
List<ConditionPermissionMetaInfo> conditions = BpmnMetaParserHelper.getConditionPermissionConf(flowElement).orElse(Collections.emptyList());
|
||||
conditions.forEach(e -> e.setValue(null));
|
||||
return conditions;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user