处理解决,流程说明显示的图型问题,调整包含逻辑
This commit is contained in:
parent
8251c65ef7
commit
4e911fc60a
@ -395,9 +395,21 @@ public class Report1Gener {
|
||||
int regulateIndex = 1;// 控制序号
|
||||
// 输出结果
|
||||
for (Map<String, Object> shape : repositoryFileElements) {
|
||||
if ("method_approval_node,method_service_node,method_approval_node3,method_service_node4,decision,sub_process_node".indexOf((String)shape.get("type")) == -1) {
|
||||
//优化此处代码逻辑,备注process和子流程sub_process_node冲突了
|
||||
String type = shape.get("type").toString();
|
||||
Set<String> typeList = new HashSet<>();
|
||||
typeList.add("method_approval_node");
|
||||
typeList.add("method_service_node");
|
||||
typeList.add("method_approval_node3");
|
||||
typeList.add("method_service_node4");
|
||||
typeList.add("decision");
|
||||
typeList.add("sub_process_node");
|
||||
if(!typeList.contains(type)){
|
||||
continue;
|
||||
}
|
||||
/*if ("method_approval_node,method_service_node,method_approval_node3,method_service_node4,decision,sub_process_node".indexOf((String)shape.get("type")) == -1) {
|
||||
continue;
|
||||
}*/
|
||||
JSONObject _tr = new JSONObject();
|
||||
JSONObject _roleMappingPostTr = new JSONObject();
|
||||
JSONObject _criticalControlPointTr = new JSONObject();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user