select id, category, news_title, news_cover, publish_unit, news_content, type,video_url, order_num, read_num, like_num, collect_num, create_time, creator, update_time, updater from inspection_news select id, user_id, news_id, type1, type2 from inspection_news_association insert into inspection_news id, category, news_title, news_cover, publish_unit, news_content, type, video_url, order_num, read_num, like_num, collect_num, create_time, creator, update_time, updater, #{id}, #{category}, #{newsTitle}, #{newsCover}, #{publishUnit}, #{newsContent}, #{type}, #{videoUrl}, #{orderNum}, #{readNum}, #{likeNum}, #{collectNum}, #{createTime}, #{creator}, #{updateTime}, #{updater}, update inspection_news category = #{category}, news_title = #{newsTitle}, news_cover = #{newsCover}, publish_unit = #{publishUnit}, news_content = #{newsContent}, type = #{type}, video_url = #{videoUrl}, order_num = #{orderNum}, read_num = #{readNum}, like_num = #{likeNum}, collect_num = #{collectNum}, create_time = #{createTime}, creator = #{creator}, update_time = #{updateTime}, updater = #{updater}, where id = #{id} update inspection_news category = #{category}, news_title = #{newsTitle}, news_cover = #{newsCover}, publish_unit = #{publishUnit}, news_content = #{newsContent}, type = #{type}, video_url = #{videoUrl}, order_num = #{orderNum}, read_num = read_num +1, like_num = like_num +1, collect_num = collect_num +1, create_time = #{createTime}, creator = #{creator}, update_time = #{updateTime}, updater = #{updater}, where id = #{id} delete from inspection_news where id = #{id} delete from inspection_news where id in #{id} update inspection_news set read_num = read_num +1 where id = #{id}