update(REQ-2516) - 兼容多动作操作同一个实例时,数据库缓读导致的一些判断问题

This commit is contained in:
wangli 2024-06-24 10:28:04 +08:00
parent 7c4fce9c89
commit 9edbf2f043

View File

@ -108,6 +108,9 @@ public class CustomCarbonCopyUserSelectorCmd implements Command<List<BpmnTaskDel
case project_identity:
case project_position:
case government_role:
if (CollectionUtils.isEmpty(executions)) {
return;
}
CustomProperty property = new CustomProperty();
property.setName(carbonCopyObjectType.getType());
property.setSimpleValue(carbon.getSpecifyValue());
@ -116,6 +119,9 @@ public class CustomCarbonCopyUserSelectorCmd implements Command<List<BpmnTaskDel
serviceTask, (DelegateExecution) executions.get(0), false));
break;
case approver_relation:
if (CollectionUtils.isEmpty(executions)) {
return;
}
assigners.addAll(getApproverRelationUser(carbon, carbonCopyObjectType,
(DelegateExecution) executions.get(0), processEngineConfiguration, processInstanceId));
break;