mirror of
https://gitee.com/xiaonuobase/snowy
synced 2025-12-16 11:13:59 +08:00
【优化】优化一个移动端授权时查询代码
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user