| 
						
						
							
								
							
						
						
					 | 
					@ -25,6 +25,7 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        <result property="updatedTime" column="UPDATED_TIME"/> | 
					 | 
					 | 
					        <result property="updatedTime" column="UPDATED_TIME"/> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    </resultMap> | 
					 | 
					 | 
					    </resultMap> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    <!-- 小区楼栋关系 --> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    <resultMap id="neighborhoodBuildingMap" type="com.epmet.commons.tools.dto.result.OptionResultDTO"> | 
					 | 
					 | 
					    <resultMap id="neighborhoodBuildingMap" type="com.epmet.commons.tools.dto.result.OptionResultDTO"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        <id column="value" property="value" /> | 
					 | 
					 | 
					        <id column="value" property="value" /> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        <result column="label" property="label"/> | 
					 | 
					 | 
					        <result column="label" property="label"/> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -681,6 +682,9 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        WHERE | 
					 | 
					 | 
					        WHERE | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            DEL_FLAG = '0' | 
					 | 
					 | 
					            DEL_FLAG = '0' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          AND CUSTOMER_ID = #{customerId} | 
					 | 
					 | 
					          AND CUSTOMER_ID = #{customerId} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        <if test="gridId != null and gridId != ''"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            AND GRID_ID = #{gridId} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        </if> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          AND ( | 
					 | 
					 | 
					          AND ( | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    AGENCY_ID = #{agencyId} | 
					 | 
					 | 
					                    AGENCY_ID = #{agencyId} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                OR AGENCY_PIDS LIKE CONCAT('%', #{agencyId}, '%')) | 
					 | 
					 | 
					                OR AGENCY_PIDS LIKE CONCAT('%', #{agencyId}, '%')) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |