Uat_Study
he 2022-11-30 10:05:00 +08:00
parent f470d85eb3
commit 3ca43ba628
1 changed files with 1 additions and 1 deletions

View File

@ -969,7 +969,7 @@ namespace IRaCIS.Core.Application.Service.Allocation
public async Task<(int, List<IRUnReadSubjectView>)> GetOrderReadingIQueryable(GetOrderReadingIQueryableInDto inDto)
{
var visitGroupQuery = _visitTaskRepository.Where(x => x.TrialId == inDto.TrialId && x.DoctorUserId == _userInfo.Id)
.Where(t => t.TrialReadingCriterionId == inDto.TrialId)
.Where(t => t.TrialReadingCriterionId == inDto.TrialReadingCriterionId)
.WhereIf(!string.IsNullOrEmpty(inDto.SubjectCode), t => t.Subject.Code.Contains(inDto.SubjectCode) || t.BlindSubjectCode.Contains(inDto.SubjectCode))
.Where(t => (t.ReadingTaskState != ReadingTaskState.HaveSigned || t.ReReadingApplyState == ReReadingApplyState.DocotorHaveApplyed
|| t.ReReadingApplyState == ReReadingApplyState.TrialGroupHaveApplyed) && t.TaskState == TaskState.Effect)