select log_id, uu_id,user_id, video_id, create_time, qw_external_contact_id, internet_traffic, qw_user_id, company_user_id, company_id, course_id, project from fs_course_traffic_log insert into fs_course_traffic_log user_id, video_id, create_time, qw_external_contact_id, internet_traffic, qw_user_id, company_user_id, company_id, course_id, uu_id, project, #{userId}, #{videoId}, #{createTime}, #{qwExternalContactId}, #{internetTraffic}, #{qwUserId}, #{companyUserId}, #{companyId}, #{courseId}, #{uuId}, #{project}, insert into fs_course_traffic_log user_id, video_id, create_time, qw_external_contact_id, internet_traffic, qw_user_id, company_user_id, company_id, course_id, uu_id, project, #{userId}, #{videoId}, #{createTime}, #{qwExternalContactId}, #{internetTraffic}, #{qwUserId}, #{companyUserId}, #{companyId}, #{courseId}, #{uuId}, #{project}, on duplicate key update internet_traffic = #{internetTraffic}, update fs_course_traffic_log user_id = #{userId}, video_id = #{videoId}, create_time = #{createTime}, qw_external_contact_id = #{qwExternalContactId}, internet_traffic = #{internetTraffic}, qw_user_id = #{qwUserId}, company_user_id = #{companyUserId}, company_id = #{companyId}, course_id = #{courseId}, uu_id = #{uuId}, project = #{project}, where log_id = #{logId} delete from fs_course_traffic_log where log_id = #{logId} delete from fs_course_traffic_log where log_id in #{logId}