|  |  | @ -2054,11 +2054,17 @@ public class DataStatsServiceImpl implements DataStatsService { | 
			
		
	
		
			
				
					|  |  |  |             int patrolDurationInteger = 0; | 
			
		
	
		
			
				
					|  |  |  |             HashSet set = new HashSet(); | 
			
		
	
		
			
				
					|  |  |  |             for (CustomerDataManageResultDTO.CustomerDataManage u : patrolEnd) { | 
			
		
	
		
			
				
					|  |  |  |                 if (org.getOrgId().equals(u.getOrgId())) { | 
			
		
	
		
			
				
					|  |  |  |                 if ("community".equals(agencyGrid.getLevel()) && org.getOrgId().equals(u.getOrgId())) { | 
			
		
	
		
			
				
					|  |  |  |                     patroCount += u.getPatrolCount(); | 
			
		
	
		
			
				
					|  |  |  |                     patrolDurationInteger += u.getPatrolDurationInteger(); | 
			
		
	
		
			
				
					|  |  |  |                     set.add(u.getStaffId()); | 
			
		
	
		
			
				
					|  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |                 if (!"community".equals(agencyGrid.getLevel()) && u.getOrgId().contains(org.getOrgId())) { | 
			
		
	
		
			
				
					|  |  |  |                     patroCount += u.getPatrolCount(); | 
			
		
	
		
			
				
					|  |  |  |                     patrolDurationInteger += u.getPatrolDurationInteger(); | 
			
		
	
		
			
				
					|  |  |  |                     set.add(u.getStaffId()); | 
			
		
	
		
			
				
					|  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |             patro = set.size(); | 
			
		
	
		
			
				
					|  |  |  |             Integer minutes = patrolDurationInteger / 60; | 
			
		
	
	
		
			
				
					|  |  | 
 |