From a9b4e8e7761359060b73edb86e36fd169b618b56 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 02 十一月 2023 23:52:36 +0800
Subject: [PATCH] 基础码段增加前缀后缀;主数据历史数据导入,模板下载设置编号列为文本类型
---
Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CommonsMapper.xml | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CommonsMapper.xml b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CommonsMapper.xml
index 47f27e2..f557aba 100644
--- a/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CommonsMapper.xml
+++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CommonsMapper.xml
@@ -13,7 +13,6 @@
and w.LASTV = '1'
</select>
-
<select id="selectById" resultType="java.lang.String">
${inSql}
</select>
@@ -26,6 +25,10 @@
${inSql}
</select>
+ <select id="queryCountStringBySql" resultType="java.lang.String">
+ ${inSql}
+ </select>
+
<select id="queryByOnlySqlForMap" resultType="java.util.Map">
${inSql}
</select>
@@ -79,4 +82,13 @@
where nameoid = #{nameoid}
</select>
+ <select id="getCurrentRevision" resultType="map" >
+ select max(revisionSeq) revisionSeq,
+ max(RevisionValue) revisionVal,
+ max(VersionSeq) VersionSeq,
+ max(VersionValue) VersionVal
+ from ${tableName}
+ where nameoid = #{nameoid}
+ </select>
+
</mapper>
--
Gitblit v1.10.0