From e54c4eb160c09711dc262c50ef5a0b3d0c4709f5 Mon Sep 17 00:00:00 2001 From: 叶松 <2217086471@qq.com> Date: 星期四, 16 十一月 2023 09:17:29 +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