【优化】优化一个移动端授权时查询代码

pull/84/head
小诺 2023-02-05 03:15:38 +08:00 committed by 俞宝山
parent a901e2a4ff
commit f577bae164
1 changed files with 2 additions and 2 deletions

View File

@ -205,8 +205,8 @@ public class MobileMenuServiceImpl extends ServiceImpl<MobileMenuMapper, MobileM
@Override
public List<JSONObject> mobileMenuTreeSelector() {
LambdaQueryWrapper<MobileMenu> lambdaQueryWrapper = new LambdaQueryWrapper<>();
List<MobileMenu> allModuleAndMenuList = this.list(lambdaQueryWrapper);
// 模块、菜单、按钮,应该查所有的,当然这里没有已经删除过的
List<MobileMenu> allModuleAndMenuList = this.list();
List<MobileMenu> mobileModuleList = CollectionUtil.newArrayList();
List<MobileMenu> mobileMenuList = CollectionUtil.newArrayList();
List<MobileMenu> mobileButtonList = CollectionUtil.newArrayList();