add 获取查询条件

This commit is contained in:
liao
2023-08-23 14:59:22 +08:00
parent ee56da57b5
commit 969cb4da20
5 changed files with 60 additions and 5 deletions
@@ -281,7 +281,7 @@ public class SysCategoryServiceImpl extends ServiceImpl<SysCategoryMapper, SysCa
}
List<SysCategoryTreeVO> tree = new ArrayList<>();
if(CollectionUtils.isNotEmpty(list)){
tree = TreeUtils.getSysCategoryTree(list,cut);
tree = TreeUtils.getSysCategoryTree(list, cut);
}
Collections.sort(tree, Comparator.comparing(SysCategoryTreeVO::getTitle));
return tree;