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,