select live_id, company_id, company_user_id,talent_id, live_name, is_audit, live_desc, show_type, status, anchor_id, live_type, start_time, finish_time, live_img_url, live_config, id_card_url, is_show, is_del, qw_qr_code, rtmp_url, flv_hls_url, create_time, create_by, update_by, update_time, remark,config_json from live
insert into live
company_id,
company_user_id,
talent_id,
live_name,
live_desc,
show_type,
status,
anchor_id,
live_type,
start_time,
finish_time,
live_img_url,
live_config,
is_show,
is_del,
qw_qr_code,
rtmp_url,
create_time,
create_by,
update_by,
update_time,
remark,
config_json,
flv_hls_url,
is_audit,
#{companyId},
#{companyUserId},
#{talentId},
#{liveName},
#{liveDesc},
#{showType},
#{status},
#{anchorId},
#{liveType},
#{startTime},
#{finishTime},
#{liveImgUrl},
#{liveConfig},
#{isShow},
#{isDel},
#{qwQrCode},
#{rtmpUrl},
#{createTime},
#{createBy},
#{updateBy},
#{updateTime},
#{remark},
#{configJson},
#{flvHlsUrl},
#{isAudit},
update live
talent_id = #{talentId},
live_name = #{liveName},
live_desc = #{liveDesc},
show_type = #{showType},
status = #{status},
anchor_id = #{anchorId},
live_type = #{liveType},
start_time = #{startTime},
finish_time = #{finishTime},
live_img_url = #{liveImgUrl},
live_config = #{liveConfig},
is_show = #{isShow},
is_del = #{isDel},
qw_qr_code = #{qwQrCode},
rtmp_url = #{rtmpUrl},
create_time = #{createTime},
create_by = #{createBy},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
config_json = #{configJson},
flv_hls_url = #{flvHlsUrl},
is_audit = #{isAudit},
id_card_url = #{idCardUrl},
where live_id = #{liveId}
delete from live where live_id = #{liveId}
delete from live where live_id in
#{liveId}