id, note_id, user_id, content_uuid, is_content_empty, image_url, `level`, reply_total, like_total, parent_id, reply_comment_id, reply_user_id, is_top, create_time, update_time, child_comment_total insert IGNORE into t_comment (id, note_id, user_id, content_uuid, is_content_empty, image_url, `level`, reply_total, like_total, parent_id, reply_comment_id, reply_user_id, is_top, create_time, update_time) values ( #{comment.id}, #{comment.noteId}, #{comment.userId}, #{comment.contentUuid}, #{comment.isContentEmpty} , #{comment.imageUrl}, #{comment.level}, #{comment.replyTotal}, #{comment.likeTotal}, #{comment.parentId} , #{comment.replyCommentId}, #{comment.replyUserId}, #{comment.isTop}, #{comment.createTime} , #{comment.updateTime}) UPDATE t_comment SET heat = CASE id WHEN #{bo.id} THEN #{bo.heat} ELSE heat END WHERE id IN #{commentId}