| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -238,7 +238,8 @@ namespace Shentun.WebPeis.AppointPatientRegisters | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                         on appointPatientRegister.CustomerOrgId equals customerOrg.CustomerOrgId | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                         where appointPatientRegister.MedicalCenterId == medicalCenterId && | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            appointPatientRegister.AppointDate >= input.AppointStartDate && | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            appointPatientRegister.AppointDate < input.AppointStopDate | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            appointPatientRegister.AppointDate < input.AppointStopDate && | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            appointPatientRegister.CustomerOrgId == GuidFlag.PersonCustomerOrgId | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                         orderby appointPatientRegister.AppointDate | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                         select new | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                         { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -345,8 +346,8 @@ namespace Shentun.WebPeis.AppointPatientRegisters | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                         join customerOrg in await _customerOrgRepository.GetQueryableAsync() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                         on appointPatientRegister.CustomerOrgId equals customerOrg.CustomerOrgId | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                         where appointPatientRegister.PersonId == input.PersonId && | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                               appointPatientRegister.CompleteFlag != AppointPatientRegisterCompleteFlag.CancelAppoint && | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                               appointPatientRegister.CustomerOrgId == GuidFlag.PersonCustomerOrgId | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                               appointPatientRegister.CompleteFlag != AppointPatientRegisterCompleteFlag.CancelAppoint | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                         orderby appointPatientRegister.AppointDate | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                         select new | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                         { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |