| 
					
				 | 
			
			
				@@ -44,7 +44,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             'DYY' as 'orderStatus', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             '待预约' as 'orderStatusText' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         from pg_order_base a 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        where appointment_time is null and a.order_status in('DYY','DSHPG','DWDPG','DJD') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        where appointment_time is null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <include refid="orderBaseSqlWhere"></include> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <if test="orderSmallType != null and orderSmallType != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             and a.order_small_type = #{orderSmallType} 
			 |