| 
						
						
							
								
							
						
						
					 | 
					@ -22,6 +22,7 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            dim_agency | 
					 | 
					 | 
					            dim_agency | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        WHERE | 
					 | 
					 | 
					        WHERE | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            del_flag = '0' | 
					 | 
					 | 
					            del_flag = '0' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        AND AGENCY_DIM_TYPE = 'all' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        <if test="customerId != null and customerId.trim() != ''"> | 
					 | 
					 | 
					        <if test="customerId != null and customerId.trim() != ''"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            AND customer_id = #{customerId} | 
					 | 
					 | 
					            AND customer_id = #{customerId} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        </if> | 
					 | 
					 | 
					        </if> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -119,6 +120,7 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        WHERE | 
					 | 
					 | 
					        WHERE | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            DEL_FLAG = '0' | 
					 | 
					 | 
					            DEL_FLAG = '0' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            AND CUSTOMER_ID = #{customerId,jdbcType=VARCHAR} | 
					 | 
					 | 
					            AND CUSTOMER_ID = #{customerId,jdbcType=VARCHAR} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					          AND AGENCY_DIM_TYPE = 'all' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    </select> | 
					 | 
					 | 
					    </select> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -234,6 +236,7 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            dim_agency | 
					 | 
					 | 
					            dim_agency | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        WHERE | 
					 | 
					 | 
					        WHERE | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            del_flag = '0' | 
					 | 
					 | 
					            del_flag = '0' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            AND AGENCY_DIM_TYPE = 'all' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            AND customer_id = #{customerId} | 
					 | 
					 | 
					            AND customer_id = #{customerId} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    </select> | 
					 | 
					 | 
					    </select> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |