| 
						
						
							
								
							
						
						
					 | 
					@ -12,7 +12,7 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        WHERE | 
					 | 
					 | 
					        WHERE | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            DEL_FLAG = '0' | 
					 | 
					 | 
					            DEL_FLAG = '0' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        AND CUSTOMER_ID = #{customerId} | 
					 | 
					 | 
					        AND CUSTOMER_ID = #{customerId} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        AND DATE(UPDATED_TIME) <![CDATA[ <= ]]> #{date} | 
					 | 
					 | 
					        AND DATE(CREATED_TIME) <![CDATA[ <= ]]> #{date} | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        <if test="gridList != null and gridList.size() > 0"> | 
					 | 
					 | 
					        <if test="gridList != null and gridList.size() > 0"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        <foreach collection="gridList" item="gridId" index="index"> | 
					 | 
					 | 
					        <foreach collection="gridList" item="gridId" index="index"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            AND GRID_ID != #{gridId} | 
					 | 
					 | 
					            AND GRID_ID != #{gridId} | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -322,20 +322,6 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        </foreach> | 
					 | 
					 | 
					        </foreach> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        order by a.category_type,a.sort | 
					 | 
					 | 
					        order by a.category_type,a.sort | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    </select> | 
					 | 
					 | 
					    </select> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    <select id="getIssueTotalList" resultType="com.epmet.dto.issue.IssueDTO"> | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        SELECT ORG_ID AS "agencyId", | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					               ORG_ID_PATH AS "pIds", | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					               ISSUE_STATUS AS "status", | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					               COUNT(ID) AS "count" | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        FROM | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            issue | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        WHERE | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            DEL_FLAG = '0' | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          AND CUSTOMER_ID = #{customerId} | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          AND DATE(CREATED_TIME) <![CDATA[ <= ]]> #{date} | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        GROUP BY | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            ORG_ID, ISSUE_STATUS | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    </select> | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    <select id="selectProjectByGrids" resultType="java.lang.String"> | 
					 | 
					 | 
					    <select id="selectProjectByGrids" resultType="java.lang.String"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        SELECT DISTINCT | 
					 | 
					 | 
					        SELECT DISTINCT | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |