From 7a8a84577894b766a95c6cbfa5ac7b51e54ac242 Mon Sep 17 00:00:00 2001
From: zhai <1528081232@qq.com>
Date: 星期三, 17 九月 2025 09:06:54 +0800
Subject: [PATCH] 1、获取文件大写修改 2、提交jdbc连接地质
---
src/main/resources/mapper/SubtabMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/SubtabMapper.xml b/src/main/resources/mapper/SubtabMapper.xml
index 020f29f..0c6326f 100644
--- a/src/main/resources/mapper/SubtabMapper.xml
+++ b/src/main/resources/mapper/SubtabMapper.xml
@@ -14,6 +14,12 @@
ifnull(max(sort_num),0) sortNum
FROM cnf_subtab where module_id = #{moduleId}
</select>
+ <!-- 鏍规嵁妯″潡ID鑾峰彇椤电鏈�澶ф帓搴忓彿 -->
+ <select id="selectMaxSortNum" parameterType="Long" resultType="int" databaseId="postgresql">
+ select
+ NVL(max(sort_num),0) sortNum
+ FROM cnf_subtab where module_id = #{moduleId}
+ </select>
<!-- 鏍规嵁妯″潡ID鑾峰彇椤电鏈�澶ф帓搴忓彿 -->
<select id="selectMaxSortNum" parameterType="Long" resultType="int" databaseId="oracle">
--
Gitblit v1.9.1