小bug 修复后台左侧栏目显示顺序问题
This commit is contained in:
@@ -79,7 +79,7 @@ public class SysMenuServiceImpl extends ServiceImpl<SysMenuDao, SysMenuEntity> i
|
||||
private List<SysMenuEntity> getMenuList(List<Long> menuIdList) {
|
||||
// 查询拥有的所有菜单
|
||||
List<SysMenuEntity> menus = this.baseMapper.selectList(new QueryWrapper<SysMenuEntity>()
|
||||
.in(Objects.nonNull(menuIdList), "menu_id", menuIdList).in("type", 0, 1));
|
||||
.in(Objects.nonNull(menuIdList), "menu_id", menuIdList).in("type", 0, 1).orderByAsc("order_num"));
|
||||
// 将id和菜单绑定
|
||||
HashMap<Long, SysMenuEntity> menuMap = new HashMap<>(12);
|
||||
for (SysMenuEntity s : menus) {
|
||||
|
||||
Reference in New Issue
Block a user