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)); }