| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -13,9 +13,11 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            DEL_FLAG = '0' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        AND CUSTOMER_ID = #{customerId} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        AND DATE(UPDATED_TIME) <![CDATA[ <= ]]> #{date} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <if test="gridList != null and gridList.size() > 0"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <foreach collection="gridList" item="gridId" index="index"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            AND GRID_ID != #{gridId} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </foreach> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </if> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        GROUP BY | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            ORG_ID, ISSUE_STATUS | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    </select> | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -37,9 +39,11 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    i.DEL_FLAG = '0' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  AND i.CUSTOMER_ID = #{customerId} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  AND DATE(ip.CREATED_TIME) = #{date} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <if test="gridList != null and gridList.size() > 0"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <foreach collection="gridList" item="gridId" index="index"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            AND i.GRID_ID != #{gridId} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </foreach> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </if> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                GROUP BY | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    i.ORG_ID, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    ip.ISSUE_STATUS | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -61,9 +65,11 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          AND ISSUE_STATUS = 'closed' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          AND CUSTOMER_ID = #{customerId} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          AND DATE(UPDATED_TIME) <![CDATA[ <= ]]> #{date} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <if test="gridList != null and gridList.size() > 0"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <foreach collection="gridList" item="gridId" index="index"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            AND GRID_ID != #{gridId} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </foreach> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </if> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        GROUP BY | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            ORG_ID, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            RESOLVE_TYPE | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -81,9 +87,11 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          AND ISSUE_STATUS = 'closed' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          AND CUSTOMER_ID = #{customerId} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          AND DATE(UPDATED_TIME) = #{date} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <if test="gridList != null and gridList.size() > 0"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <foreach collection="gridList" item="gridId" index="index"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            AND GRID_ID != #{gridId} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </foreach> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </if> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        GROUP BY | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            ORG_ID, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            RESOLVE_TYPE | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |