id,content,star,user_id,accept_id,order_id,time delete from comment where id = #{id} insert into comment id, content, star, user_id, accept_id, order_id, time, #{id}, #{content}, #{star}, #{userId}, #{acceptId}, #{orderId}, #{time}, update comment content = #{content}, star = #{star}, user_id = #{userId}, accept_id = #{acceptId}, order_id = #{orderId}, time = #{time}, where id = #{id}