跳过阅片修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
f233d27f96
commit
899ebf2a30
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue