From 59d3dce7cf32975e59935920968b2266af3c60a6 Mon Sep 17 00:00:00 2001
From: lihang <lihang@vci-tech.com>
Date: 星期五, 02 六月 2023 14:31:01 +0800
Subject: [PATCH] 链接类型接口修正、页面修改。业务类型Feign接口修改。
---
Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CommonsMapper.xml | 25 ++++++++++++++++++++++++-
1 files changed, 24 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 736ff64..7aee99d 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
@@ -6,7 +6,7 @@
<select id="selectByCount" resultType="java.util.Map">
select COUNT(w.OID) count
from ${tableName} w
- join PL_CODE_ALLCODE c on w.OID = c.CREATECODEOID
+ join PL_CODE_ALLCODE c on w.OID = c.CREATECODEOID
where c.CREATECODEBTM = #{btm}
and c.CODERULEOID = #{oid}
and w.LASTR = '1'
@@ -14,4 +14,27 @@
</select>
+ <select id="selectById" resultType="java.lang.String">
+ ${inSql}
+ </select>
+
+ <select id="selectBySql" resultType="java.util.Map">
+ ${inSql}
+ </select>
+
+ <insert id="insertByBaseModel" parameterType="java.util.Map">
+ insert into ${tableName}
+ (
+ <foreach collection="columnMap" item="value" index="key" separator=",">
+ ${key}
+ </foreach>
+ )
+ <foreach collection="mapList" item="columnMap" separator=" union all ">
+ select <foreach collection="columnMap" item="value" index="key" separator=",">
+ #{value}
+ </foreach>
+ from dual
+ </foreach>
+ </insert>
+
</mapper>
--
Gitblit v1.10.0