From 6c1d86f4e4c43024a9214752cfeb5f315744f4b2 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期日, 08 十月 2023 10:44:23 +0800
Subject: [PATCH] 分类授权-构建已选择数据多选回填
---
Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CommonsMapper.xml | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 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 eadd7d1..47f27e2 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
@@ -49,6 +49,13 @@
delete from ${tableName} where oid in (${oids})
</insert>
+<!-- <update id="updateByTaleAndOid">-->
+<!-- update ${tableName}-->
+<!-- set lcStatus = #{lcStatus}-->
+<!-- where oid = (${oids})-->
+<!-- </update>-->
+
+
<update id="updateBatchByBaseModel" parameterType="java.util.List" >
BEGIN
<foreach collection="mapList" item="columnMap" index="index" separator=";">
@@ -63,4 +70,13 @@
END;
</update >
+ <select id="getNextRevision" resultType="map" >
+ select max(revisionSeq) + 1 revisionSeq,
+ max(RevisionValue) + 1 revisionVal,
+ max(VersionSeq) + 1 VersionSeq,
+ max(VersionValue) + 1 VersionVal
+ from ${tableName}
+ where nameoid = #{nameoid}
+ </select>
+
</mapper>
--
Gitblit v1.9.3