kongzy
2024-07-01 47a751cb301d05276ae5d75145d57b2d090fe4e1
src/main/java/com/nanometer/smartlab/dao/EncodeReplaceDictMapper.xml
@@ -91,12 +91,12 @@
    update  sys_encode_replace_dict set  valid_flag = 0
    where id = #{id,jdbcType=BIGINT}
  </update>
  <insert id="insert" parameterType="com.nanometer.smartlab.entity.EncodeReplaceDict" >
  <insert id="insert" parameterType="com.nanometer.smartlab.entity.EncodeReplaceDict" useGeneratedKeys = "true" keyProperty = "id">
    <!--          -->
    insert into sys_encode_replace_dict (id, type, number,
    insert into sys_encode_replace_dict (type, number,
      info, abbreviation, creator, 
      update_time, valid_flag)
    values (#{id,jdbcType=BIGINT}, #{type}, #{number,jdbcType=VARCHAR},
    values (#{type}, #{number,jdbcType=VARCHAR},
      #{info,jdbcType=VARCHAR}, #{abbreviation,jdbcType=VARCHAR}, #{creator,jdbcType=VARCHAR}, 
      #{updateTime,jdbcType=TIMESTAMP}, 1)
  </insert>
@@ -104,9 +104,6 @@
    <!--          -->
    insert into sys_encode_replace_dict
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="id != null" >
        id,
      </if>
      <if test="type != null" >
        type,
      </if>
@@ -130,9 +127,6 @@
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides="," >
      <if test="id != null" >
        #{id,jdbcType=BIGINT},
      </if>
      <if test="type != null" >
        #{type},
      </if>