| 
					
				 | 
			
			
				@@ -127,6 +127,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         FROM user_order t 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         left join user_order_payment p on t.order_no_ = p.order_no_ and (p.status_ = 'pending' or p.status_ = 'succeeded') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         left join sys_user u on t.user_id_ = u.id_ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <if test="null != param.search and '' != param.search"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            left join tenant_info ti on t.tenant_id_ = ti.id_ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             u.del_flag_ = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="null != param.orderClient and '' != param.orderClient"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -142,7 +146,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 AND ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 t.user_id_ LIKE CONCAT('%', #{param.search}, '%') or 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 u.username_ LIKE CONCAT('%', #{param.search}, '%') or 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                u.phone_ LIKE CONCAT('%', #{param.search}, '%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                u.phone_ LIKE CONCAT('%', #{param.search}, '%') or 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                ti.name_ LIKE CONCAT('%', #{param.search}, '%') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="null != param.searchNo and '' != param.searchNo"> 
			 |