fix: scc流程不显示单线审核节点
This commit is contained in:
+1
-1
@@ -199,7 +199,7 @@ public class ProcessNodeService extends ServiceImpl<ProcessNodeMapper, ProcessNo
|
||||
variable = runtimeService.getVariable(mainInstanceId, DISTRIBUTE);
|
||||
}
|
||||
|
||||
boolean distribute = ObjectUtil.isNotNull(variable) && YesOrNoEnum.YES.getValue().equals(variable.toString());
|
||||
boolean distribute = ObjectUtil.isNotNull(variable) && (boolean) variable;
|
||||
if (!distribute) {
|
||||
processNodeList.removeIf(v -> v.getXmlNodeId().equals(MAIN_CHECK_USER_APPROVAL)
|
||||
|| v.getXmlNodeId().equals(MAIN_CHECK_USER_COLLECT));
|
||||
|
||||
Reference in New Issue
Block a user