修改已知问题。
This commit is contained in:
parent
959433bbe7
commit
10439890d5
|
|
@ -431,15 +431,15 @@ public class CommonService {
|
||||||
|
|
||||||
Set<String> res = new HashSet<>();
|
Set<String> res = new HashSet<>();
|
||||||
|
|
||||||
// List<String> prjInfo = (dataOwnCode == DataOwnEnum.SYS_FILE.code) ?
|
List<String> prjInfo = (dataOwnCode == DataOwnEnum.SYS_FILE.code) ?
|
||||||
// querySysPrjTree(PrjQuerySource.USER_INTERFACE.value, null, new FileProjectVO()).get(PrjQuerySource.USER_INTERFACE.value):
|
querySysPrjTree(PrjQuerySource.SYS_DB.value, null, new FileProjectVO()).get(PrjQuerySource.SYS_DB.value):
|
||||||
// queryUserPrjTree(PrjQuerySource.USER_INTERFACE.value, new FileProjectVO()).get(PrjQuerySource.USER_INTERFACE.value);
|
queryUserPrjTree(PrjQuerySource.USER_DB.value, new FileProjectVO()).get(PrjQuerySource.USER_DB.value);
|
||||||
//
|
|
||||||
// prjInfo.forEach(e -> {
|
prjInfo.forEach(e -> {
|
||||||
// FileProjectVO projectVO = JSONUtil.toList(e, FileProjectVO.class).get(0);
|
FileProjectVO projectVO = JSONUtil.toList(e, FileProjectVO.class).get(0);
|
||||||
// Set<String> leafIds = getLeafNodes(projectVO).stream().map(FileProjectVO::getCategoryId).collect(Collectors.toSet());
|
Set<String> leafIds = getLeafNodes(projectVO).stream().map(FileProjectVO::getCategoryId).collect(Collectors.toSet());
|
||||||
// res.addAll(leafIds);
|
res.addAll(leafIds);
|
||||||
// });
|
});
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,5 +24,4 @@ public enum DataOwnEnum {
|
||||||
return code == SYS_FILE.code || code == USER_FILE.code || code == REPO_FILE.code;
|
return code == SYS_FILE.code || code == USER_FILE.code || code == REPO_FILE.code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue