feat(REQ-3340) - 调整一些代码

This commit is contained in:
wangli 2025-02-10 11:06:57 +08:00
parent ef29a95dfd
commit a1a4e503bd

View File

@ -74,7 +74,9 @@ public class AutoOperatorEvent_101_Listener extends AbstractBpmnEventListener<Ta
// 开启了电子签名不能自动过审
Boolean activitySignature = BpmnMetaParserHelper.getActivitySignature(mainProcess.getFlowElement(delegateTask.getTaskDefinitionKey()));
//自动过审配置连续节点自动过审才处理历史数据默认不自动过审
if (processApproveConf.isPresent() && AutoApprovalTypeEnum.CONTINUOUS_NODES_AUTO_APPROVAL == processApproveConf.get().getAutoApprovalType() && !activitySignature) {
if (processApproveConf.isPresent()
&& AutoApprovalTypeEnum.CONTINUOUS_NODES_AUTO_APPROVAL == processApproveConf.get().getAutoApprovalType()
&& !activitySignature) {
Object versionVar = delegateTask.getVariable(WORKFLOW_ENGINE_VERSION);
String version = versionVar == null ? null : String.valueOf(versionVar);
CheckApproverService checkApproverService = MultiVersionBeanUtils.getSpecifiedVersionBean(CheckApproverService.class, version);