Uat_Study
			
			
		
		
							parent
							
								
									f904ca8f11
								
							
						
					
					
						commit
						d71286b265
					
				| 
						 | 
				
			
			@ -337,6 +337,15 @@ namespace IRaCIS.Core.Application.Service
 | 
			
		|||
              
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (clinicalForm.CheckDate != null)
 | 
			
		||||
            {
 | 
			
		||||
                if (await _readModuleRepository.AnyAsync(x => x.SubjectVisit.LatestScanDate <= clinicalForm.CheckDate && x.IsCRCConfirm))
 | 
			
		||||
                {
 | 
			
		||||
					throw new BusinessValidationFailedException("无法添加和修改当前日期的临床数据,因为CRC已经确认!");
 | 
			
		||||
				}
 | 
			
		||||
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
            List<ClinicalQuestionAnswer> clinicalQuestionAnswers = inDto.QuestionAnswers.Select(x => new ClinicalQuestionAnswer()
 | 
			
		||||
            {
 | 
			
		||||
                Answer=x.Answer,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -27,7 +27,7 @@ namespace IRaCIS.Core.Domain.Models
 | 
			
		|||
		/// <summary>
 | 
			
		||||
		/// 检查日期
 | 
			
		||||
		/// </summary>
 | 
			
		||||
		public DateTime CheckDate { get; set; }
 | 
			
		||||
		public DateTime? CheckDate { get; set; }
 | 
			
		||||
	
 | 
			
		||||
		/// <summary>
 | 
			
		||||
        /// 创建日期
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue