| 
					
					
						
							
						
					
					
				 | 
				@ -278,7 +278,16 @@ namespace Shentun.Peis.RegisterChecks | 
			
		
		
	
		
			
				 | 
				 | 
				            { | 
				 | 
				 | 
				            { | 
			
		
		
	
		
			
				 | 
				 | 
				                throw new UserFriendlyException("input参数不能为空"); | 
				 | 
				 | 
				                throw new UserFriendlyException("input参数不能为空"); | 
			
		
		
	
		
			
				 | 
				 | 
				            } | 
				 | 
				 | 
				            } | 
			
		
		
	
		
			
				 | 
				 | 
				            var registerCheck = await _registerCheckRepository.GetAsync(input.RegisterCheckId); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            if (input.RegisterCheckItems == null) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                throw new UserFriendlyException("RegisterCheckItems参数不能为空"); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            } | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            if(!input.RegisterCheckItems.Where(o=>!string.IsNullOrWhiteSpace(o.Result)).ToList().Any()) | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                throw new UserFriendlyException("明细结果不能全部为空"); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            } | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				             var registerCheck = await _registerCheckRepository.GetAsync(input.RegisterCheckId); | 
			
		
		
	
		
			
				 | 
				 | 
				            var patientRegister = await _patientRegisterRepository.GetAsync(registerCheck.PatientRegisterId); | 
				 | 
				 | 
				            var patientRegister = await _patientRegisterRepository.GetAsync(registerCheck.PatientRegisterId); | 
			
		
		
	
		
			
				 | 
				 | 
				            //修改医生和检查日期
 | 
				 | 
				 | 
				            //修改医生和检查日期
 | 
			
		
		
	
		
			
				 | 
				 | 
				            if(string.IsNullOrWhiteSpace(input.CheckDoctorId)) | 
				 | 
				 | 
				            if(string.IsNullOrWhiteSpace(input.CheckDoctorId)) | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |