修改枚举值
							parent
							
								
									43a720e09e
								
							
						
					
					
						commit
						d3c0e5979a
					
				| 
						 | 
				
			
			@ -79,7 +79,7 @@ namespace IRaCIS.Application.Services
 | 
			
		|||
            var guidList = selectionQuery.ReadingTypeIdList.Concat(selectionQuery.SubspecialityIdList).Concat(selectionQuery.TitleIdList);
 | 
			
		||||
 | 
			
		||||
            var query = _doctorRepository/*.WhereIf(nation != AttendedReviewerType.USAndCN,  t => t.Nation ==(int) nation)*/
 | 
			
		||||
 | 
			
		||||
            
 | 
			
		||||
             .WhereIf(selectionQuery.DepartmentId != null, t => t.DepartmentId == selectionQuery.DepartmentId)
 | 
			
		||||
             .WhereIf(selectionQuery.SpecialityId != null, t => t.SpecialityId == selectionQuery.SpecialityId)
 | 
			
		||||
             .WhereIf(trialConfig.TrialType == TrialType.NoneOfficial, t => t.IsVirtual ==true)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -46,7 +46,9 @@
 | 
			
		|||
        US=1,
 | 
			
		||||
 | 
			
		||||
        CN=0,
 | 
			
		||||
 | 
			
		||||
        EU=2,
 | 
			
		||||
 | 
			
		||||
        JP=4
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -156,7 +156,7 @@ namespace IRaCIS.Core.Domain.Models
 | 
			
		|||
        public string DeclarationTypes { get; set; } = string.Empty;
 | 
			
		||||
 | 
			
		||||
        [NotMapped]
 | 
			
		||||
        public List<DeclarationType> DeclarationTypeEnumList => AttendedReviewerTypes.Split('|', StringSplitOptions.RemoveEmptyEntries)
 | 
			
		||||
        public List<DeclarationType> DeclarationTypeEnumList => DeclarationTypes.Split('|', StringSplitOptions.RemoveEmptyEntries)
 | 
			
		||||
           .Select(s => Enum.Parse(typeof(DeclarationType), s)).Cast<DeclarationType>().ToList();
 | 
			
		||||
 | 
			
		||||
        [NotMapped]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue