feat(REQ-4418) - 添加推测未来节点日志时的抄送节点配置内容
This commit is contained in:
parent
f08459c0a9
commit
65a9aead8f
@ -1073,7 +1073,7 @@ public class BpmnProcessInstanceServiceImpl implements BpmnProcessInstanceServic
|
||||
node.setNodeMode(GENERAL);
|
||||
node.setId(i.getId()).setName(i.getName());
|
||||
if (i instanceof UserTask) {
|
||||
parseUserTask(processInstanceId, (UserTask) i, node, nodeDefinitionKeys);
|
||||
parseUserTask(processInstanceId, (UserTask) i, node, nodeDefinitionKeys, categoryVersion);
|
||||
} else if (i instanceof ServiceTask) {
|
||||
parseServiceTask(processInstanceId, (ServiceTask) i, node, nodeDefinitionKeys, categoryVersion);
|
||||
}
|
||||
@ -1104,7 +1104,7 @@ public class BpmnProcessInstanceServiceImpl implements BpmnProcessInstanceServic
|
||||
}
|
||||
|
||||
private void parseUserTask(String processInstanceId, UserTask i, ProcessNodeDetailVO
|
||||
node, List<String> skipTaskDefinitionKeys) {
|
||||
node, List<String> skipTaskDefinitionKeys, Integer categoryVersion) {
|
||||
node.setFormKey(i.getFormKey());
|
||||
// 设置审批模式,
|
||||
if (i.getBehavior() instanceof MultiInstanceActivityBehavior) {
|
||||
@ -1127,7 +1127,7 @@ public class BpmnProcessInstanceServiceImpl implements BpmnProcessInstanceServic
|
||||
.execute(new CustomForecastUserTaskAssigneeCmd(processInstanceId,
|
||||
i, engineExecutionStartListener));
|
||||
node.setForecastAssigners(forecastAssigners);
|
||||
if (CollectionUtils.isEmpty(forecastAssigners)) {
|
||||
if (CollectionUtils.isEmpty(forecastAssigners) && categoryVersion < 2) {
|
||||
getApproverEmptyHandleType(i).ifPresent(emptyHandleType -> {
|
||||
switch (emptyHandleType) {
|
||||
case autoPassed:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user