id,pro_id,file_id,
file_type
delete from plt_product_file
where id = #{id,jdbcType=BIGINT}
delete from plt_product_file
where pro_id = #{proId,jdbcType=BIGINT}
insert into plt_product_file
id,pro_id,file_id,file_type,#{id,jdbcType=BIGINT},#{proId,jdbcType=BIGINT},#{fileId,jdbcType=BIGINT},#{fileType,jdbcType=VARCHAR},
update plt_product_file
pro_id = #{proId,jdbcType=BIGINT},
file_id = #{fileId,jdbcType=BIGINT},
file_type = #{fileType,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update plt_product_file
set
pro_id = #{proId,jdbcType=BIGINT},
file_id = #{fileId,jdbcType=BIGINT},
file_type = #{fileType,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}