刘小明
2024-10-12 6518c722cbd542436787da4f864ef5ce26837d21
pms-parent/pms-global/src/main/resources/mapper/PltProParamsMapper.xml
@@ -45,10 +45,10 @@
    <!--@mbg.generated-->
    insert into plt_product_params
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null and id !=''">
      <if test="id != null">
        id,
      </if>
      <if test="proId != null and proId !=''">
      <if test="proId != null">
        pro_id,
      </if>
      <if test="paramName!= null and paramName !=''">
@@ -57,15 +57,15 @@
      <if test="paramValue!= null and paramValue !=''">
        param_value,
      </if>
      <if test="deleted != null and deleted !=''">
      <if test="deleted != null">
        deleted
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="id != null and id !=''">
      <if test="id != null">
        #{id,jdbcType=BIGINT},
      </if>
      <if test="proId != null and proId !=''">
      <if test="proId != null">
        #{proId,jdbcType=BIGINT},
      </if>
      <if test="paramName!= null and paramName !=''">
@@ -74,7 +74,7 @@
      <if test="paramValue!= null and paramValue !=''">
        #{paramValue,jdbcType=VARCHAR},
      </if>
      <if test="deleted != null and deleted !=''">
      <if test="deleted != null">
        #{deleted,jdbcType=TINYINT}
      </if>
    </trim>
@@ -83,7 +83,7 @@
    <!--@mbg.generated-->
    update plt_product_params
    <set>
      <if test="proId != null and proId !=''">
      <if test="proId != null">
        pro_id = #{proId,jdbcType=BIGINT},
      </if>
      <if test="paramName!= null and paramName !=''">
@@ -92,7 +92,7 @@
      <if test="paramValue!= null and paramValue !=''">
        param_value = #{paramValue,jdbcType=VARCHAR},
      </if>
      <if test="deleted != null and deleted !=''">
      <if test="deleted != null">
        deleted = #{deleted,jdbcType=TINYINT}
      </if>
    </set>