From f8805dcb9cbfda1182761d3c1c9e345f53db3452 Mon Sep 17 00:00:00 2001
From: 叶松 <2217086471@qq.com>
Date: 星期四, 16 十一月 2023 09:17:24 +0800
Subject: [PATCH] 料仓搅拌站大屏书写
---
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