rev:修改流程服务配置

This commit is contained in:
zhangzq
2024-06-19 10:19:25 +08:00
parent ecf52e5801
commit 83cc814d75
2 changed files with 8 additions and 3 deletions

View File

@@ -106,7 +106,12 @@ public class FlowOperationServiceImpl implements IFlowOperationService {
BpmnModel bpmnModel = bpmnJSONConverter.convertToBpmnModel(deployment.getModel_key(), deployment.getVersion(), model_json);
FlowNode flowNode = bpmnModel.getProcesses().get(execution.getActivity_id());
if (auxParam!=null){
flowNode.setAuxParam(auxParam);
JSONObject param = flowNode.getAuxParam();
if (param!=null){
flowNode.getAuxParam().putAll(auxParam);
}else {
flowNode.setAuxParam(auxParam);
}
}
ExecutionEntity entity = new ExecutionEntity();
entity.setCurrentFlowElement(flowNode);