Fancy
2024-08-27 732b40515d87a1780a5986227513d507076ca5eb
pms-parent/pms-global/src/main/resources/mapper/PltProParamsMapper.xml
@@ -45,36 +45,36 @@
    <!--@mbg.generated-->
    insert into plt_product_params
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
      <if test="id != null and id !=''">
        id,
      </if>
      <if test="proId != null">
      <if test="proId != null and proId !=''">
        pro_id,
      </if>
      <if test="paramName != null">
      <if test="paramName!= null and paramName !=''">
        param_name,
      </if>
      <if test="paramValue != null">
      <if test="paramValue!= null and paramValue !=''">
        param_value,
      </if>
      <if test="deleted != null">
      <if test="deleted != null and deleted !=''">
        deleted
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="id != null">
      <if test="id != null and id !=''">
        #{id,jdbcType=BIGINT},
      </if>
      <if test="proId != null">
      <if test="proId != null and proId !=''">
        #{proId,jdbcType=BIGINT},
      </if>
      <if test="paramName != null">
      <if test="paramName!= null and paramName !=''">
        #{paramName,jdbcType=VARCHAR},
      </if>
      <if test="paramValue != null">
      <if test="paramValue!= null and paramValue !=''">
        #{paramValue,jdbcType=VARCHAR},
      </if>
      <if test="deleted != null">
      <if test="deleted != null and deleted !=''">
        #{deleted,jdbcType=TINYINT}
      </if>
    </trim>
@@ -83,16 +83,16 @@
    <!--@mbg.generated-->
    update plt_product_params
    <set>
      <if test="proId != null">
      <if test="proId != null and proId !=''">
        pro_id = #{proId,jdbcType=BIGINT},
      </if>
      <if test="paramName != null">
      <if test="paramName!= null and paramName !=''">
        param_name = #{paramName,jdbcType=VARCHAR},
      </if>
      <if test="paramValue != null">
      <if test="paramValue!= null and paramValue !=''">
        param_value = #{paramValue,jdbcType=VARCHAR},
      </if>
      <if test="deleted != null">
      <if test="deleted != null and deleted !=''">
        deleted = #{deleted,jdbcType=TINYINT}
      </if>
    </set>