From e4eec9fc65f1d63f06606a15f0ce518d4fe023fd Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期四, 16 二月 2023 14:10:32 +0800
Subject: [PATCH] 优化

---
 ycl-common/src/main/resources/mapper/user/UmsMenuMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ycl-common/src/main/resources/mapper/user/UmsMenuMapper.xml b/ycl-common/src/main/resources/mapper/user/UmsMenuMapper.xml
index 80434cf..3b7cc17 100644
--- a/ycl-common/src/main/resources/mapper/user/UmsMenuMapper.xml
+++ b/ycl-common/src/main/resources/mapper/user/UmsMenuMapper.xml
@@ -65,7 +65,7 @@
                  INNER JOIN `ums_role_menu_relation` AS rmr on rmr.role_id = arr.role_id
                  JOIN ums_menu AS m ON rmr.menu_id = m.id
         WHERE arr.admin_id = #{id}
-        order by m.id
+        order by m.sort
     </select>
 
 </mapper>

--
Gitblit v1.8.0