pal 手册获取表单图与制度图特殊处理

This commit is contained in:
anhc 2022-07-18 18:17:20 +08:00
parent bbe0305cee
commit 59fe81184d
2 changed files with 14 additions and 3 deletions

View File

@ -1500,8 +1500,19 @@ public class PALRepositoryQueryAPIManager {
for (String category : categorys) {
if (methods != null && !"".equals(methods) ) {
if (methods.indexOf(category) == -1 ) {
//制度图与表单图特殊处理
if ("data.form".equals(methods)){
if (!category.equals("process")){
continue;
}
} else if ("control.policy".equals(methods)){
if (!category.equals("process")){
continue;
}
} else {
continue;
}
}
}
JSONObject jsonObject = new JSONObject();
jsonObject.put("id", category);