comment_id, user_openid, post_id, tutorialId, content, parent_comment_id, is_deleted, created_at, updated_at, mentioned_user_id, image_urls, video_url INSERT INTO comment ( user_openid, post_id, content, parent_comment_id, is_deleted, created_at, updated_at, mentioned_user_id ) VALUES ( #{userOpenid}, #{postId}, #{content}, #{parentCommentId}, #{isDeleted}, #{createdAt}, #{updatedAt}, #{mentionedUserId}, #{imageUrls}, #{videoUrl} ) UPDATE comment SET user_openid = #{userOpenid}, post_id = #{postId}, content = #{content}, parent_comment_id = #{parentCommentId}, is_deleted = #{isDeleted}, created_at = #{createdAt}, updated_at = #{updatedAt}, mentioned_user_id = #{mentionedUserId}, image_urls = #{imageUrls}, video_url = #{videoUrl} WHERE comment_id = #{commentId} UPDATE comment SET is_deleted = 1, updated_at = CURRENT_TIMESTAMP WHERE comment_id = #{commentId}