Uat_Study
			
			
		
		
							parent
							
								
									5cbad9d31c
								
							
						
					
					
						commit
						58294c2e62
					
				| 
						 | 
				
			
			@ -393,6 +393,12 @@ namespace IRaCIS.Core.Application.ViewModel
 | 
			
		|||
 | 
			
		||||
        public Guid SystemCriterionId { get; set; }
 | 
			
		||||
 | 
			
		||||
        public string Part { get; set; }
 | 
			
		||||
 | 
			
		||||
        public string TULAT { get; set; }
 | 
			
		||||
 | 
			
		||||
        public string TULOC { get; set; }
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
   
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -94,6 +94,9 @@ namespace IRaCIS.Core.Application.Service
 | 
			
		|||
 | 
			
		||||
            var organInfoQueryable = _organInfoRepository
 | 
			
		||||
               .Where(x => x.SystemCriterionId == inQuery.SystemCriterionId)
 | 
			
		||||
                  .WhereIf(!inQuery.Part.IsNullOrEmpty() , x => x.Part.Contains(inQuery.Part))
 | 
			
		||||
                   .WhereIf(!inQuery.TULOC.IsNullOrEmpty(), x => x.TULOC.Contains(inQuery.TULOC))
 | 
			
		||||
                    .WhereIf(!inQuery.TULAT.IsNullOrEmpty(), x => x.TULAT.Contains(inQuery.TULAT))
 | 
			
		||||
               .WhereIf(inQuery.LesionType != null, x => organs.Contains(x.OrganType))
 | 
			
		||||
                 .WhereIf(inQuery.OrganType != null, x => x.OrganType == inQuery.OrganType)
 | 
			
		||||
               .ProjectTo<OrganInfoView>(_mapper.ConfigurationProvider);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
		Reference in New Issue