From aec23370b2b8f3eea178c5f8b6318f151c4ff4eb Mon Sep 17 00:00:00 2001 From: yjz <3131811435@qq.com> Date: Thu, 11 Jul 2024 18:27:09 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=A0=87=E5=87=86=E8=A7=A3=E8=AF=BB?= =?UTF-8?q?=E6=B5=81=E7=A8=8B):=20=E5=8F=91=E8=B5=B7=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E8=8D=89=E7=A8=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/StandardInterpretFlowServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java index 2b8d3785..b9a09e50 100644 --- a/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java @@ -530,15 +530,16 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe new ProcessStandardInterpretClauseSublist(); processStandardInterpretClauseSublist.setStandardInterpretId(processStandardInterpret.getId()); String taskId = processApprovalRecord.getTaskId(); - Task task = taskService.createTaskQuery().taskId(taskId).singleResult(); // 解读人填写信息(分发) if (StandardInterpretCommon.INTERPRETING_PEOPLE_FILLOUT.equals(node)){ + Task task = taskService.createTaskQuery().taskId(taskId).singleResult(); Object variable = runtimeService.getVariable(task.getExecutionId(), StandardInterpretCommon.SNOWFLAKE); processStandardInterpretClauseSublist.setSnowFlake(String.valueOf(variable)); processStandardInterpretClauseSublist.setInterpretPersonId(loginUser.getId()); } // 标准主解读人审核(分发) if (StandardInterpretCommon.MASTER_INTERPRET_APPROVE.equals(node)){ + Task task = taskService.createTaskQuery().taskId(taskId).singleResult(); Object variable = runtimeService.getVariable(task.getExecutionId(), StandardInterpretCommon.SNOWFLAKE); processStandardInterpretClauseSublist.setSnowFlake(String.valueOf(variable)); }