From 09b28dc1ded086a78b5146e2e6f6cc2338b22e11 Mon Sep 17 00:00:00 2001
From: mg <maokecheng@163.com>
Date: 星期三, 12 十月 2022 18:21:59 +0800
Subject: [PATCH] 修改状态

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

diff --git a/ycl-common/src/main/resources/mapper/user/UmsMenuMapper.xml b/ycl-common/src/main/resources/mapper/user/UmsMenuMapper.xml
index 11212c6..3d8bac3 100644
--- a/ycl-common/src/main/resources/mapper/user/UmsMenuMapper.xml
+++ b/ycl-common/src/main/resources/mapper/user/UmsMenuMapper.xml
@@ -58,4 +58,16 @@
             m.id
     </select>
 
+    <select id="adminMenuRelation" resultType="com.ycl.entity.user.vo.UmsMenuVo">
+        SELECT
+            amr.id AS relationId,
+            amr.is_start AS isStart,
+            m.*
+        FROM
+            `ums_admin_menu_relation` AS amr
+                JOIN ums_menu AS m ON amr.menu_id = m.id
+        WHERE
+            amr.admin_id = #{id}
+    </select>
+
 </mapper>

--
Gitblit v1.8.0