From 7bdcc45e2ba5513a7b2cba65f9daafe1a76872bc Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 16 八月 2023 10:26:58 +0800 Subject: [PATCH] 主题库行编辑(8-16) --- Source/UBCS/ubcs-ops/ubcs-flow/src/main/java/com/vci/ubcs/flow/business/service/impl/FlowBusinessServiceImpl.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/Source/UBCS/ubcs-ops/ubcs-flow/src/main/java/com/vci/ubcs/flow/business/service/impl/FlowBusinessServiceImpl.java b/Source/UBCS/ubcs-ops/ubcs-flow/src/main/java/com/vci/ubcs/flow/business/service/impl/FlowBusinessServiceImpl.java index e39c37e..abc996d 100644 --- a/Source/UBCS/ubcs-ops/ubcs-flow/src/main/java/com/vci/ubcs/flow/business/service/impl/FlowBusinessServiceImpl.java +++ b/Source/UBCS/ubcs-ops/ubcs-flow/src/main/java/com/vci/ubcs/flow/business/service/impl/FlowBusinessServiceImpl.java @@ -181,6 +181,16 @@ flow.setProcessIsFinished(FlowEngineConstant.STATUS_UNFINISHED); } flow.setStatus(FlowEngineConstant.STATUS_FINISH); + + //娴佺▼鍙橀噺 + Map<String,Object> variables = historicProcessInstance.getProcessVariables(); + flow.setVariables(variables); + + //businessKey + if (Func.isNotEmpty(historicProcessInstance)) { + flow.setBusinessId(businessKey.length>1 && StringUtils.isNotEmpty(businessKey[1])?businessKey[1]:"1"); + } + flowList.add(flow); }); -- Gitblit v1.9.3