From f879ddd80a2bd267a0a575ef03f76d3ec2ae1504 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 04 一月 2024 11:42:22 +0800
Subject: [PATCH] bug列表269:集成日志查询bug修改。 270:关键属性校验,去掉多线程之后请求响应非常慢(之前报错线程阻塞的bug改成单线程导致非常慢,现在又改回ForJoinPool方式限制线程生成数量实现多线程并行,提升执行效率)。

---
 Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/BtmTypeAttributeMapper.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/BtmTypeAttributeMapper.xml b/Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/BtmTypeAttributeMapper.xml
index bfa4fe8..f2484f6 100644
--- a/Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/BtmTypeAttributeMapper.xml
+++ b/Source/UBCS/ubcs-service/ubcs-omd/src/main/resources/mapper/BtmTypeAttributeMapper.xml
@@ -41,7 +41,8 @@
         pl_omd_btm_type
     </sql>
     <update id="batchUpdate" parameterType="java.util.List">
-        <foreach collection="records" item="item" index="index" open="begin" close=";end;" separator=";">
+
+        <foreach collection="records" item="item" index="index" separator=";" open="BEGIN" close=";END;">
             update <include refid="tableName"/> set
                 id = #{item.id,jdbcType=VARCHAR},
                 name = #{item.name,jdbcType=VARCHAR},
@@ -65,7 +66,9 @@
                 last_modifier = #{item.lastModifier,jdbcType=VARCHAR},
                 last_modify_time = #{item.lastModifyTime,jdbcType=TIMESTAMP},
                 ts = #{item.ts,jdbcType=TIMESTAMP}
+            where oid = #{item.oid,jdbcType=VARCHAR}
         </foreach>
+
     </update>
     <delete id="batchDelete">
         delete from

--
Gitblit v1.10.0