id,`name`,price,image,product_id,is_del,created_at,created_by,updated_at,updated_by INSERT INTO `com_convenient_product_specifications`(name,price,image,product_id,created_at,created_by) VALUES (#{item.name}, #{item.price}, #{item.image}, #{item.productId}, #{item.createdAt}, #{item.createdBy}) UPDATE com_convenient_product_specifications SET is_del = 1 WHERE product_id = #{productId} AND id NOT IN #{item} UPDATE com_convenient_product_specifications SET is_del = 1 WHERE id IN #{item}