From d04c117fdebce55aaa97bc0c44181948d1e2150c Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 02 Jun 2022 10:43:47 +0800
Subject: [PATCH] 20220527

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

diff --git a/src/main/resources/mapper/MenuMapper.xml b/src/main/resources/mapper/MenuMapper.xml
index e1127a9..28ead9c 100644
--- a/src/main/resources/mapper/MenuMapper.xml
+++ b/src/main/resources/mapper/MenuMapper.xml
@@ -24,4 +24,18 @@
         t_menu a where a.id = #{id}
     </select>
 
+    <select id="selectAdminMenuVoInListByParentId" resultType="com.xcong.farmer.cms.modules.system.vo.AdminMenuVo">
+        SELECT
+            a.*
+        FROM
+            t_menu a where a.parent_id = #{parentId}
+    </select>
+
+    <select id="selectMenuEntityByIdAndParentId" resultType="com.xcong.farmer.cms.modules.system.entity.MenuEntity">
+        SELECT
+            a.*
+        FROM
+            t_menu a where a.parent_id != #{parentId} and a.id = #{menuId}
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1