端到端功能 针对子流程节点形状属性【子流程模型】相关接口做调整
This commit is contained in:
parent
08c0c92a9d
commit
3100ad5904
Binary file not shown.
@ -946,6 +946,14 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
}
|
||||
}
|
||||
macroLibraries.put("treeData", jsonArr_new.toString());
|
||||
} else if ("child_process".equals(attrId)){
|
||||
// 端到端功能 只保留文件夹 架构 process.epc process.flowchart
|
||||
objects = objects.stream()
|
||||
.filter(o -> !((JSONObject)o).containsKey("plMethodId") || "default".equals(((JSONObject)o).getString("plMethodId"))
|
||||
|| "process.framework".equals(((JSONObject)o).getString("plMethodId"))
|
||||
|| "process.epc".equals(((JSONObject)o).getString("plMethodId"))
|
||||
|| "process.flowchart".equals(((JSONObject)o).getString("plMethodId"))).collect(Collectors.toCollection(JSONArray::new));
|
||||
macroLibraries.put("treeData", objects.toString());
|
||||
} else {
|
||||
macroLibraries.put("treeData", treeJson);
|
||||
}
|
||||
@ -1393,6 +1401,20 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// 端到端功能 只保留文件夹 架构 process.epc process.flowchart
|
||||
if ("child_process".equals(attrId)){
|
||||
String plMethodId = node.getString("plMethodId");
|
||||
if ("default".equals(plMethodId) || "process.framework".equals(plMethodId) || "process.epc".equals(plMethodId) || "process.flowchart".equals(plMethodId)){
|
||||
if (isParent.equals("true")) {
|
||||
node.put("nocheck", true);
|
||||
result.add(node);
|
||||
} else {
|
||||
node.put("nocheck", false);
|
||||
result.add(node);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user