From 0e3a6cac9b374fca07b94768f03ecd9ec389acc9 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期三, 24 四月 2024 17:17:40 +0800
Subject: [PATCH] 4、因日志记录的大字段信息太长导致卡顿,所以调整集成日志,操作日志,本地日志,修改表格列表不查询显示大字段,点击详情时才显示详细信息。 5、日志页面增加查询属性(页面显示的属性都加上),支持模糊查询。

---
 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