From 39c91fc4c17f9640a2aacefb15bf886afd612df3 Mon Sep 17 00:00:00 2001
From: lihang <lihang@vci-tech.com>
Date: 星期四, 13 七月 2023 10:13:30 +0800
Subject: [PATCH] 修正达梦MAPPER里面INTEGER会带精度的问题
---
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..2d6770b 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.alias = #{btmType}
+ and ps.id = pm.parent_id order by pm.sort asc
+ </select>
+
</mapper>
--
Gitblit v1.9.3