id, create_by, create_time, del_flag, update_by, update_time,product_id, product_picture
insert into t_product_picture (id, create_by, create_time, del_flag, update_by, update_time,product_id, product_picture) values
(#{productPicture.id,jdbcType=VARCHAR},#{productPicture.createBy,jdbcType=VARCHAR},
#{productPicture.createTime,jdbcType=TIMESTAMP},#{productPicture.delFlag,jdbcType=INTEGER},
#{productPicture.updateBy,jdbcType=VARCHAR},#{productPicture.updateTime,jdbcType=TIMESTAMP},
#{productPicture.productId,jdbcType=VARCHAR},#{productPicture.productPicture,jdbcType=VARCHAR})
delete from t_product_picture
where product_id = #{productId,jdbcType=VARCHAR}