select id, product_id, user_name, comment_text, comment_id, picture_urls,
created_at, comment_date, is_use
from comments
update comments
is_use = #{isUse},
where id = #{id}
update comments
set is_use = 0
where product_id = #{productId}
delete from comments where id in
#{id}