From e8546c7be820056f24bcb9055cd889cd3a597a31 Mon Sep 17 00:00:00 2001
From: 叶松 <2217086471@qq.com>
Date: 星期三, 15 十一月 2023 08:58:35 +0800
Subject: [PATCH] Merge branch 'master' of http://111.30.93.211:10101/r/supipe

---
 hd/pipe/secure/src/main/resources/mapping/RegionInspectionMapper.xml |   44 +++++++++++++++++++++++---------------------
 1 files changed, 23 insertions(+), 21 deletions(-)

diff --git a/hd/pipe/secure/src/main/resources/mapping/RegionInspectionMapper.xml b/hd/pipe/secure/src/main/resources/mapping/RegionInspectionMapper.xml
index 8b5841d..fc2846f 100644
--- a/hd/pipe/secure/src/main/resources/mapping/RegionInspectionMapper.xml
+++ b/hd/pipe/secure/src/main/resources/mapping/RegionInspectionMapper.xml
@@ -57,27 +57,29 @@
       </if>
     </trim>
     on duplicate key update
-    <if test="task != null">
-      task = #{task,jdbcType=VARCHAR},
-    </if>
-    <if test="standard != null">
-      standard = #{standard,jdbcType=VARCHAR},
-    </if>
-    <if test="createUser != null">
-      createUser = #{createUser,jdbcType=VARCHAR},
-    </if>
-    <if test="createTime != null">
-      createTime = #{createTime,jdbcType=TIMESTAMP},
-    </if>
-    <if test="updateUser != null">
-      updateUser = #{updateUser,jdbcType=VARCHAR},
-    </if>
-    <if test="updateTime != null">
-      updateTime = #{updateTime,jdbcType=TIMESTAMP},
-    </if>
-    <if test="companyId != null">
-      companyId = #{companyId,jdbcType=VARCHAR},
-    </if>
+    <trim suffixOverrides=",">
+      <if test="task != null">
+        task = #{task,jdbcType=VARCHAR},
+      </if>
+      <if test="standard != null">
+        standard = #{standard,jdbcType=VARCHAR},
+      </if>
+      <if test="createUser != null">
+        createUser = #{createUser,jdbcType=VARCHAR},
+      </if>
+      <if test="createTime != null">
+        createTime = #{createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="updateUser != null">
+        updateUser = #{updateUser,jdbcType=VARCHAR},
+      </if>
+      <if test="updateTime != null">
+        updateTime = #{updateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="companyId != null">
+        companyId = #{companyId,jdbcType=VARCHAR},
+      </if>
+    </trim>
 
   </insert>
 

--
Gitblit v1.9.3