select video_id, file_id, title, description, url, thumbnail, duration, create_time, talent_id, cate_id, likes, views, comments, status, is_hot, is_audit, audit_by, audit_time, update_time, source, is_del, shares, tags, product_id, product_json, favorite_num, upload_type, tx_cdn_url, tx_pcdn_url, tx_vod_url, hw_obs_url, hw_vod_url,add_num from fs_user_video
insert into fs_user_video
file_id,
title,
description,
url,
thumbnail,
duration,
create_time,
talent_id,
cate_id,
likes,
views,
comments,
status,
is_hot,
is_audit,
audit_by,
audit_time,
update_time,
source,
is_del,
shares,
tags,
product_id,
product_json,
favorite_num,
upload_type,
tx_cdn_url,
tx_pcdn_url,
tx_vod_url,
hw_obs_url,
hw_vod_url,
add_num,
#{fileId},
#{title},
#{description},
#{url},
#{thumbnail},
#{duration},
#{createTime},
#{talentId},
#{cateId},
#{likes},
#{views},
#{comments},
#{status},
#{isHot},
#{isAudit},
#{auditBy},
#{auditTime},
#{updateTime},
#{source},
#{isDel},
#{shares},
#{tags},
#{productId},
#{productJson},
#{favoriteNum},
#{uploadType},
#{txCdnUrl},
#{txPcdnUrl},
#{txVodUrl},
#{hwObsUrl},
#{hwVodUrl},
#{addNum},
update fs_user_video
file_id = #{fileId},
title = #{title},
description = #{description},
url = #{url},
thumbnail = #{thumbnail},
duration = #{duration},
create_time = #{createTime},
talent_id = #{talentId},
cate_id = #{cateId},
likes = #{likes},
views = #{views},
comments = #{comments},
status = #{status},
is_hot = #{isHot},
is_audit = #{isAudit},
audit_by = #{auditBy},
audit_time = #{auditTime},
update_time = #{updateTime},
source = #{source},
is_del = #{isDel},
shares = #{shares},
tags = #{tags},
product_id = #{productId},
product_json = #{productJson},
favorite_num = #{favoriteNum},
upload_type = #{uploadType},
tx_cdn_url = #{txCdnUrl},
tx_pcdn_url = #{txPcdnUrl},
tx_vod_url = #{txVodUrl},
hw_obs_url = #{hwObsUrl},
hw_vod_url = #{hwVodUrl},
add_num = #{addNum},
where video_id = #{videoId}
update fs_user_video set is_del = 1 where video_id = #{videoId}
update fs_user_video set is_del = 1 where video_id in
#{videoId}