From a58d740c8ef15c0bafcf5d3b76abb54333c2028e Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期五, 21 十月 2022 13:34:10 +0800
Subject: [PATCH] 处理 车牌号重复 我的代办重构 导出名字

---
 ycl-common/src/main/resources/mapper/user/UmsMenuMapper.xml |   21 +++++++++++++++++++++
 1 files changed, 21 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..af61816 100644
--- a/ycl-common/src/main/resources/mapper/user/UmsMenuMapper.xml
+++ b/ycl-common/src/main/resources/mapper/user/UmsMenuMapper.xml
@@ -58,4 +58,25 @@
             m.id
     </select>
 
+    <select id="adminMenuRelation" resultType="com.ycl.entity.user.vo.UmsMenuVo">
+        SELECT
+            amr.id AS relationId,
+            amr.is_start AS isStart,
+            amr.sort,
+            m.id,
+            m.parent_id AS parentId,
+            m.title,
+            m.url,
+            m.`level`,
+            m.description,
+            m.create_time as createTime,
+            m.hidden,
+            m.icon
+        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