|  | @@ -58,9 +58,11 @@
 | 
	
		
			
				|  |  |          left join tenant_proxy_info as b on a.proxy_id_ = b.id_
 | 
	
		
			
				|  |  |          left join tenant_info as c on a.tenant_id_ = c.id_
 | 
	
		
			
				|  |  |          left join sys_user as d on c.recommender_ = d.id_
 | 
	
		
			
				|  |  | -        <if test="param.proxyId != null">
 | 
	
		
			
				|  |  | -            AND a.proxy_id_ = #{param.proxyId}
 | 
	
		
			
				|  |  | -        </if>
 | 
	
		
			
				|  |  | +        <where>
 | 
	
		
			
				|  |  | +            <if test="param.proxyId != null">
 | 
	
		
			
				|  |  | +                AND a.proxy_id_ = #{param.proxyId}
 | 
	
		
			
				|  |  | +            </if>
 | 
	
		
			
				|  |  | +        </where>
 | 
	
		
			
				|  |  |      </select>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  </mapper>
 |