| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -172,7 +172,7 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									AND main.CUSTOMER_ID = #{customerId} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                <if test="null != agencies and agencies.size() > 0"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    <foreach collection="agencies" item="item" open="AND ( " separator=" OR " close=" ) "> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                          main.FINISH_ORG_I DS LIKE  concat(#{item},'%') | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                          main.FINISH_ORG_IDS LIKE  concat(#{item},'%') | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    </foreach> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                </if> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |