支持文件过滤已发布数据
This commit is contained in:
parent
6e717f7d67
commit
3488433f23
@ -871,7 +871,24 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
|
||||
}
|
||||
macroLibraries.put("treeData", jsonArr_new.toString());
|
||||
} else{
|
||||
}else if(attrId.equals("support_files")) {
|
||||
for (int i = 0; i < objects.size(); i++) {
|
||||
JSONObject jsonObject = objects.getJSONObject(i);
|
||||
|
||||
String isPublish=jsonObject.getString("isPublish");
|
||||
if(isPublish!=null){
|
||||
if(isPublish.equals("false")){
|
||||
JSONObject node = objects.getJSONObject(i);
|
||||
node.put("nocheck", "false");
|
||||
jsonArr_new.add(node);
|
||||
}
|
||||
}else{
|
||||
jsonArr_new.add(objects.getJSONObject(i));
|
||||
}
|
||||
|
||||
}
|
||||
macroLibraries.put("treeData", jsonArr_new.toString());
|
||||
}else{
|
||||
macroLibraries.put("treeData", jsonArr_new.toString());
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user