From 0d6451caf0ab536743a14dca204030d4ae8ef74b Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期三, 28 六月 2023 16:18:39 +0800
Subject: [PATCH] 1、主要对使用分类的主键获取业务数据之前查询写固定的方式进行修改。
---
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..c4d87b5 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 ps.is_deleted = 0
+ and ps.category = 1
+ and ps.alias = #{btmType}
+ and ps.id = pm.parent_id order by pm.sort asc
+ </select>
+
</mapper>
--
Gitblit v1.9.3