select link_id,chat_id, is_room,link, real_link,link_type, create_time, update_time, company_id, company_user_id, qw_user_id, video_id, corp_id, course_id ,qw_external_id from fs_course_link
insert into fs_course_link
link,
real_link,
create_time,
update_time,
company_id,
company_user_id,
qw_user_id,
video_id,
corp_id,
course_id,
qw_external_id,
link_type,
is_room,
chat_id,
#{link},
#{realLink},
#{createTime},
#{updateTime},
#{companyId},
#{companyUserId},
#{qwUserId},
#{videoId},
#{corpId},
#{courseId},
#{qwExternalId},
#{linkType},
#{isRoom},
#{chatId},
INSERT INTO fs_course_link
link,
real_link,
create_time,
update_time,
company_id,
company_user_id,
qw_user_id,
video_id,
corp_id,
course_id,
qw_external_id,
link_type,
is_room,
(
#{item.link},
#{item.realLink},
#{item.createTime},
#{item.updateTime},
#{item.companyId},
#{item.companyUserId},
#{item.qwUserId},
#{item.videoId},
#{item.corpId},
#{item.courseId},
#{item.qwExternalId},
#{item.linkType},
#{item.isRoom},
)
update fs_course_link
link = #{link},
real_link = #{realLink},
create_time = #{createTime},
update_time = #{updateTime},
company_id = #{companyId},
company_user_id = #{companyUserId},
qw_user_id = #{qwUserId},
video_id = #{videoId},
corp_id = #{corpId},
course_id = #{courseId},
qw_external_id = #{qwExternalId},
link_type = #{linkType},
is_room = #{isRoom},
chat_id = #{chatId},
where link_id = #{linkId}
delete from fs_course_link where link_id = #{linkId}
delete from fs_course_link where link_id in
#{linkId}