Uat_Study
			
			
		
		
							parent
							
								
									f470d85eb3
								
							
						
					
					
						commit
						3ca43ba628
					
				| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue