From ab03d93d2a60307cc30d33215fff12a55fc41cec Mon Sep 17 00:00:00 2001
From: whyczh <hzjl@qq.com>
Date: 星期四, 03 六月 2021 15:46:23 +0800
Subject: [PATCH] 更新登录superuser的菜单格式

---
 src/main/resources/mapper/RoleMenuMapper.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/RoleMenuMapper.xml b/src/main/resources/mapper/RoleMenuMapper.xml
index 6e00400..0a2adcc 100644
--- a/src/main/resources/mapper/RoleMenuMapper.xml
+++ b/src/main/resources/mapper/RoleMenuMapper.xml
@@ -31,4 +31,12 @@
         where u.id=#{id} and role.state=0 ORDER BY pm.id,m.ord;
     </select>
 
+
+    <select id="getSuperUserMenu" resultMap="MenuMap">
+        select pm.id,pm.name,pm.url,pm.icon,pm.level,pm.ord,m.id mid,m.name mname,m.url murl,m.icon micon,m.level mlevel,m.ord mord
+        from tb_menu m
+        inner join tb_menu pm on m.menu_id = pm.id
+        ORDER BY pm.id,m.ord;
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1