刘小明
2024-08-21 14b0417bca9050a11792248f5c5c7e7c86e4744f
pms-parent/pms-global/src/main/resources/mapper/PltProParamsMapper.xml
@@ -21,6 +21,12 @@
    from plt_product_params
    where id = #{id,jdbcType=BIGINT}
  </select>
  <select id="selectParams"  parameterType="java.lang.Long" resultMap="BaseResultMap">
    select
    <include refid="Base_Column_List" />
    from plt_product_params
    where pro_id = #{proId,jdbcType=BIGINT} and deleted !=1
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
    <!--@mbg.generated-->
    delete from plt_product_params
@@ -86,6 +92,9 @@
      <if test="paramValue != null">
        param_value = #{paramValue,jdbcType=VARCHAR},
      </if>
      <if test="deleted != null">
        deleted = #{deleted,jdbcType=TINYINT}
      </if>
    </set>
    where id = #{id,jdbcType=BIGINT}
  </update>