From 9c331d555ce7e82b4226556770a81c444442bb37 Mon Sep 17 00:00:00 2001 From: unknown <280848880@qq.com> Date: 星期二, 14 十一月 2023 08:58:08 +0800 Subject: [PATCH] web苏州:1.3级导航样式修改 2.区域巡检提测 3.消耗统计提测 --- 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