pal 手册获取表单图与制度图特殊处理
This commit is contained in:
parent
bbe0305cee
commit
59fe81184d
Binary file not shown.
@ -1498,10 +1498,21 @@ public class PALRepositoryQueryAPIManager {
|
|||||||
List<String> categorys = PALMethodCache.getPalMehtodList(teamId, context.getUID(), isUsed, isPublished, true);
|
List<String> categorys = PALMethodCache.getPalMehtodList(teamId, context.getUID(), isUsed, isPublished, true);
|
||||||
int i = 1;
|
int i = 1;
|
||||||
for (String category : categorys) {
|
for (String category : categorys) {
|
||||||
if (methods != null && !"".equals(methods)) {
|
if (methods != null && !"".equals(methods) ) {
|
||||||
if (methods.indexOf(category) == -1) {
|
if (methods.indexOf(category) == -1 ) {
|
||||||
|
//制度图与表单图特殊处理
|
||||||
|
if ("data.form".equals(methods)){
|
||||||
|
if (!category.equals("process")){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
} else if ("control.policy".equals(methods)){
|
||||||
|
if (!category.equals("process")){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
JSONObject jsonObject = new JSONObject();
|
JSONObject jsonObject = new JSONObject();
|
||||||
jsonObject.put("id", category);
|
jsonObject.put("id", category);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user