insert into comment(id,productId,userId,type,content,createTime) values(null,#{productId},#{userId},#{type},#{content},#{createTime}) update comment set type = #{type},content = #{content} where id = #{id} delete from comment where id in(${value})