From 7f2e50af63ca447961d9ceb7fb0e6b2cd879aa8a Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期三, 02 八月 2023 18:24:16 +0800
Subject: [PATCH] 1、在关键属性校验增加模板id条件

---
 Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/MenuMapper.xml |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/MenuMapper.xml b/Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/MenuMapper.xml
index bda18b0..ff6e118 100644
--- a/Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/MenuMapper.xml
+++ b/Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/MenuMapper.xml
@@ -73,7 +73,7 @@
         ORDER BY menu.sort
     </select>
 
-    <select id="lazyMenuList" resultMap="menuVOResultMap">
+    <select id="lazyMenuPage" resultMap="menuVOResultMap">
         SELECT
             menu.*,
             (
@@ -475,4 +475,13 @@
         GROUP BY m.path
     </select>
 
+    <select id="selectMenuChildByBtnType" resultMap="menuResultMap">
+        select pm.*
+        from pl_sys_menu ps, pl_sys_menu pm
+        where pm.is_deleted = 0
+          and ps.category = 1
+          and ps.CODE = #{btmType}
+          and ps.id = pm.parent_id order by pm.sort asc
+    </select>
+
 </mapper>

--
Gitblit v1.9.3