邱宇豪
2023-11-13 990f794e91ddaae1d8ef6a71b5741c58dfed23ba
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>