| 
					
				 | 
			
			
				@@ -121,8 +121,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         select distinct user_id_ from user_bank_card where del_flag_ = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ) b on t.user_id_ = b.user_id_ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         left join tenant_info ti on t.tenant_id_ = ti.id_ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        left join vip_card_record vcr on t.user_id_ = vcr.user_id_ and vcr.efficient_flag_ = 1 and vcr.client_type_='STUDENT' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        left join vip_card_record vcr2 on t.user_id_ = vcr2.user_id_ and vcr2.efficient_flag_ = 1 and vcr2.end_time_ > now() and now() >= vcr2.start_time_ and vcr2.client_type_='STUDENT' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        left join vip_card_record vcr on t.user_id_ = vcr.user_id_ and vcr.efficient_flag_ = 1 and vcr.client_type_='TEACHER' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        left join vip_card_record vcr2 on t.user_id_ = vcr2.user_id_ and vcr2.efficient_flag_ = 1 and vcr2.end_time_ > now() and now() >= vcr2.start_time_ and vcr2.client_type_='TEACHER' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="null != param.search and '' != param.search"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 AND ( 
			 |