From 899ebf2a30894e9a86f5fcc1784064a18ec29961 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Mon, 15 Jul 2024 14:43:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=B3=E8=BF=87=E9=98=85=E7=89=87=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Reading/ReadingImageTask/ReadingImageTaskService.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs index d67e162c0..68f5086cb 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs @@ -2821,7 +2821,7 @@ namespace IRaCIS.Application.Services var currentSubject = subjectTaskList.Where(x => x.Index >= subjectIndex && !x.ExistReadingApply) // 排除跳过的 - .Where(x=> x.UnReadCanReadTaskList.Select(y => y.Id).Except(cacheSkipIds).Count()>0) + .Where(x=> x.UnReadCanReadTaskList.Select(y => y.Id).Intersect(cacheSkipIds).Count()==0) .OrderBy(x => x.Index).FirstOrDefault(); @@ -2831,8 +2831,6 @@ namespace IRaCIS.Application.Services } task = currentSubject.UnReadCanReadTaskList - // 排除跳过的 - .Where(x=> !cacheSkipIds.Contains(x.Id)) .Select(x => new GetReadingTaskDto() { ReadingCategory = x.ReadingCategory,