insert into asso_product_picture (product_id, name, suffix, url) values (#{n.productId}, #{n.name}, #{n.suffix}, #{n.url}) delete from asso_product_picture where product_id = #{productId} delete from asso_product_picture where id in ( #{n} )