From df42f090480d87b14dad7be338bdd107ae9d1f85 Mon Sep 17 00:00:00 2001 From: liyongde <1419499670@qq.com> Date: Tue, 22 Aug 2023 14:49:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=8F=9C=E5=8D=95=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/nl/system/service/menu/impl/SysMenuServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/system/service/menu/impl/SysMenuServiceImpl.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/system/service/menu/impl/SysMenuServiceImpl.java index d29e0d6..7146a88 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/system/service/menu/impl/SysMenuServiceImpl.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/system/service/menu/impl/SysMenuServiceImpl.java @@ -344,7 +344,7 @@ public class SysMenuServiceImpl extends ServiceImpl impl } else { queryWrapper = new QueryWrapper().isNull("pid"); } - return baseMapper.selectList(queryWrapper); + return baseMapper.selectList(queryWrapper.orderByAsc("menu_sort")); } @Override