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 ) VALUES ( #{item.link,jdbcType=VARCHAR}, #{item.realLink,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.companyId,jdbcType=BIGINT}, #{item.companyUserId,jdbcType=BIGINT}, #{item.qwUserId,jdbcType=VARCHAR}, #{item.videoId,jdbcType=BIGINT}, #{item.corpId,jdbcType=VARCHAR}, #{item.courseId,jdbcType=BIGINT}, #{item.qwExternalId,jdbcType=BIGINT}, #{item.linkType,jdbcType=BIGINT}, #{item.isRoom,jdbcType=VARCHAR} ) 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}