select post_id, author_id, post_type, title, content, category, images, video_url, status, is_sensitive, sensitive_words, audit_remark, view_count, published_at, last_reply_at, created_at, updated_at from posts insert into posts author_id, post_type, title, content, category, images, video_url, status, is_sensitive, sensitive_words, audit_remark, view_count, published_at, last_reply_at, created_at, updated_at, #{authorId}, #{postType}, #{title}, #{content}, #{category}, #{images}, #{videoUrl}, #{status}, #{isSensitive}, #{sensitiveWords}, #{auditRemark}, #{viewCount}, #{publishedAt}, #{lastReplyAt}, #{createdAt}, #{updatedAt}, update posts author_id = #{authorId}, post_type = #{postType}, title = #{title}, content = #{content}, category = #{category}, images = #{images}, video_url = #{videoUrl}, status = #{status}, is_sensitive = #{isSensitive}, sensitive_words = #{sensitiveWords}, audit_remark = #{auditRemark}, view_count = #{viewCount}, published_at = #{publishedAt}, last_reply_at = #{lastReplyAt}, created_at = #{createdAt}, updated_at = #{updatedAt}, where post_id = #{postId} delete from posts where post_id = #{postId} delete from posts where post_id in #{postId}