feat(标准解读流程): 发起节点草稿
This commit is contained in:
+2
-1
@@ -530,15 +530,16 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe
|
|||||||
new ProcessStandardInterpretClauseSublist();
|
new ProcessStandardInterpretClauseSublist();
|
||||||
processStandardInterpretClauseSublist.setStandardInterpretId(processStandardInterpret.getId());
|
processStandardInterpretClauseSublist.setStandardInterpretId(processStandardInterpret.getId());
|
||||||
String taskId = processApprovalRecord.getTaskId();
|
String taskId = processApprovalRecord.getTaskId();
|
||||||
Task task = taskService.createTaskQuery().taskId(taskId).singleResult();
|
|
||||||
// 解读人填写信息(分发)
|
// 解读人填写信息(分发)
|
||||||
if (StandardInterpretCommon.INTERPRETING_PEOPLE_FILLOUT.equals(node)){
|
if (StandardInterpretCommon.INTERPRETING_PEOPLE_FILLOUT.equals(node)){
|
||||||
|
Task task = taskService.createTaskQuery().taskId(taskId).singleResult();
|
||||||
Object variable = runtimeService.getVariable(task.getExecutionId(), StandardInterpretCommon.SNOWFLAKE);
|
Object variable = runtimeService.getVariable(task.getExecutionId(), StandardInterpretCommon.SNOWFLAKE);
|
||||||
processStandardInterpretClauseSublist.setSnowFlake(String.valueOf(variable));
|
processStandardInterpretClauseSublist.setSnowFlake(String.valueOf(variable));
|
||||||
processStandardInterpretClauseSublist.setInterpretPersonId(loginUser.getId());
|
processStandardInterpretClauseSublist.setInterpretPersonId(loginUser.getId());
|
||||||
}
|
}
|
||||||
// 标准主解读人审核(分发)
|
// 标准主解读人审核(分发)
|
||||||
if (StandardInterpretCommon.MASTER_INTERPRET_APPROVE.equals(node)){
|
if (StandardInterpretCommon.MASTER_INTERPRET_APPROVE.equals(node)){
|
||||||
|
Task task = taskService.createTaskQuery().taskId(taskId).singleResult();
|
||||||
Object variable = runtimeService.getVariable(task.getExecutionId(), StandardInterpretCommon.SNOWFLAKE);
|
Object variable = runtimeService.getVariable(task.getExecutionId(), StandardInterpretCommon.SNOWFLAKE);
|
||||||
processStandardInterpretClauseSublist.setSnowFlake(String.valueOf(variable));
|
processStandardInterpretClauseSublist.setSnowFlake(String.valueOf(variable));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user