select news_info_id, news_info_title, news_info_author, news_info_source, news_info_content, news_info_time, news_info_click, news_info_inittime, news_info_type, news_info_carousel, news_info_url, news_info_authorId from news_info
insert into news_info
news_info_title,
news_info_author,
news_info_source,
news_info_content,
news_info_time,
news_info_click,
news_info_inittime,
news_info_type,
news_info_carousel,
news_info_url,
news_info_authorId,
#{newsInfoTitle},
#{newsInfoAuthor},
#{newsInfoSource},
#{newsInfoContent},
#{newsInfoTime},
#{newsInfoClick},
#{newsInfoInittime},
#{newsInfoType},
#{newsInfoCarousel},
#{newsInfoUrl},
#{newsInfoAuthorid},
update news_info
news_info_title = #{newsInfoTitle},
news_info_author = #{newsInfoAuthor},
news_info_source = #{newsInfoSource},
news_info_content = #{newsInfoContent},
news_info_time = #{newsInfoTime},
news_info_click = #{newsInfoClick},
news_info_inittime = #{newsInfoInittime},
news_info_type = #{newsInfoType},
news_info_carousel = #{newsInfoCarousel},
news_info_url = #{newsInfoUrl},
news_info_authorId = #{newsInfoAuthorid},
where news_info_id = #{newsInfoId}
delete from news_info where news_info_id = #{newsInfoId}
delete from news_info where news_info_id in
#{newsInfoId}