`id`, `tenant_id`, `parent_tenant_id`, `video_id`, `video_url`, `preview`, `name`, `duration`, `exceed_time`,`create_date`, `update_date`
where `is_del` = 0
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `video_id` = #{videoId}
and `title` like concat('%', #{name},'%')
and `create_date` >= #{startdate}
and `create_date` <= #{enddate}
and id in
#{idItem}
order by ${sortColumns}
update tt_video_library set is_del = 1,update_date=now() where id = #{id}