From c4405bd9e8d0285bcefaead699ed5d4c4a8bbd89 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 12 十月 2023 17:09:52 +0800
Subject: [PATCH] 修改获取nacos配置的地址
---
Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/MenuMapper.xml | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 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 50d8103..6877a21 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.*,
(
@@ -221,7 +221,13 @@
</select>
<select id="grantTree" resultMap="treeNodeResultMap">
- select id, parent_id, name as title, id as "value", id as "key" from pl_sys_menu where is_deleted = 0 order by sort
+ select
+ id,
+ parent_id,
+ name as title,
+ id as "value",
+ id as "key"
+ from pl_sys_menu where is_deleted = 0 order by sort
</select>
<select id="grantTreeByRole" resultMap="treeNodeResultMap">
@@ -478,9 +484,9 @@
<select id="selectMenuChildByBtnType" resultMap="menuResultMap">
select pm.*
from pl_sys_menu ps, pl_sys_menu pm
- where ps.is_deleted = 0
+ where pm.is_deleted = 0
and ps.category = 1
- and ps.alias = #{btmType}
+ and ps.CODE = #{btmType}
and ps.id = pm.parent_id order by pm.sort asc
</select>
--
Gitblit v1.9.3