insert into third_part_we_com_video (dt, video_id, category, title, cover, video, score, create_timestamp)
values
(#{item.dt}, #{item.videoId}, #{item.category}, #{item.title}, #{item.cover}, #{item.video}, #{item.score},
#{item.createTimestamp})
update third_part_we_com_video
set status = 0,
update_timestamp = #{now}
where dt = #{dt} and video_id not in
#{item}
update third_part_we_com_video
set status = #{status},
update_timestamp = #{now}
where video_id = #{videoId}
and status = #{oldStatus}