From 19d9b8debbe4fca6376d64d081c15e2b3358747b Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 04 一月 2024 17:24:50 +0800
Subject: [PATCH] 273:枚举定义接口修改;271:表格返回数据没有按照分页的限制
---
Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/MenuMapper.xml | 27 ++++++++++++++++++++++++++-
1 files changed, 26 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 e2cdeb6..df3421c 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
@@ -197,7 +197,6 @@
#{item}
</foreach>
) ) )
-
UNION ALL
SELECT
@@ -220,6 +219,32 @@
) menu ORDER BY sort
</select>
+ <select id="getButtonByParentCode" resultMap="menuResultMap">
+ SELECT
+ id,
+ parent_id,
+ code,
+ name,
+ alias,
+ PATH,
+ SOURCE,
+ ACTION,
+ sort
+ FROM
+ PL_SYS_MENU
+ WHERE
+ "CATEGORY" = '2'
+ AND IS_DELETED = 0
+ AND PARENT_ID IN (
+ SELECT
+ ID
+ FROM
+ PL_SYS_MENU
+ WHERE
+ CODE = #{code})
+ ORDER BY SORT
+ </select>
+
<select id="grantTree" resultMap="treeNodeResultMap">
select
id,
--
Gitblit v1.10.0