| 
						
						
							
								
							
						
						
					 | 
					@ -36,8 +36,8 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            AND patrol_total > 0 | 
					 | 
					 | 
					            AND patrol_total > 0 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            <choose> | 
					 | 
					 | 
					            <choose> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                <when test='dataType == "agency"'> | 
					 | 
					 | 
					                <when test='dataType == "agency"'> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                    <foreach collection="idList" item="id" open="AND agency_id IN (" separator="," close=")"> | 
					 | 
					 | 
					                    <foreach collection="idList" item="id" open="AND (" close=")" separator=" OR "> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                        #{id} | 
					 | 
					 | 
					                        grid_pids like concat('%', #{id}, '%') | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                    </foreach> | 
					 | 
					 | 
					                    </foreach> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                </when> | 
					 | 
					 | 
					                </when> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                <otherwise> | 
					 | 
					 | 
					                <otherwise> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |