【fix sonar】SysCategoryController文件
This commit is contained in:
+1
-1
@@ -311,7 +311,7 @@ public class SysCategoryController {
|
|||||||
Result<List<TreeSelectModel>> result = new Result<>();
|
Result<List<TreeSelectModel>> result = new Result<>();
|
||||||
try {
|
try {
|
||||||
List<TreeSelectModel> ls = this.sysCategoryService.queryListByCode(pcode);
|
List<TreeSelectModel> ls = this.sysCategoryService.queryListByCode(pcode);
|
||||||
if(!async) {
|
if(Boolean.FALSE.equals(async)) {
|
||||||
loadAllCategoryChildren(ls);
|
loadAllCategoryChildren(ls);
|
||||||
}
|
}
|
||||||
result.setResult(ls);
|
result.setResult(ls);
|
||||||
|
|||||||
Reference in New Issue
Block a user