feat(标准解读流程): 发起节点草稿

This commit is contained in:
yjz
2024-07-11 18:27:09 +08:00
parent 8827b45623
commit aec23370b2
@@ -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));
}