修改一版

Test.EIImageViewer
he 2022-08-02 09:40:17 +08:00
parent bc69bb1b43
commit c0cb7144c7
1 changed files with 4 additions and 3 deletions

View File

@ -1081,11 +1081,12 @@ namespace IRaCIS.Application.Services
x.SubjectId == taskInfo.SubjectId &&
x.ArmEnum== taskInfo.ArmEnum &&
x.Id != inDto.VisitTaskId &&
x.ReadingCategory == taskInfo.ReadingCategory &&
x.DoctorUserId == taskInfo.DoctorUserId &&
x.ReadingTaskState == ReadingTaskState.HaveSigned&&
x.TaskState==TaskState.Effect&&
x.IsAnalysisCreate == taskInfo.IsAnalysisCreate)
.WhereIf(taskInfo.ReadingCategory==ReadingCategory.Visit,x=>x.ReadingCategory==ReadingCategory.Visit||x.ReadingCategory==ReadingCategory.Global)
.WhereIf(taskInfo.ReadingCategory != ReadingCategory.Visit,x=>x.ReadingCategory==taskInfo.ReadingCategory)
.ProjectTo<GetReadingPastResultListOutDto>(_mapper.ConfigurationProvider).OrderBy(x=>x.VisitTaskNum).ToListAsync();
return readingPastResultList;
}