跳过阅片修改
continuous-integration/drone/push Build is passing Details

he 2024-07-15 14:43:49 +08:00
parent f233d27f96
commit 899ebf2a30
1 changed files with 1 additions and 3 deletions

View File

@ -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,