| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -67,10 +67,13 @@ public class StatsProjectServiceImpl implements StatsProjectService { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @Override | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public void agencyProjectStats(ProjectStatsFormDTO formDTO) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        Date date = yesterDay(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //入参有时间的则按具体时间执行,没有的则按当前时间前一天执行
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (null != formDTO.getDate() && StringUtils.isNotBlank(formDTO.getDate())) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            date = DateUtils.parse(formDTO.getDate(), DateUtils.DATE_PATTERN); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //入参有客户Id的则按客户Id执行,没有的则全部客户都执行
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (null != formDTO.getCustomerId() && StringUtils.isNotBlank(formDTO.getCustomerId())) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            log.info("单独统计客户机关-项目-日月数据,当前统计的客户Id:" + formDTO.getCustomerId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            customerAgencyStats(formDTO.getCustomerId(), date); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            int pageNo = 1; | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -361,15 +364,18 @@ public class StatsProjectServiceImpl implements StatsProjectService { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    /** | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @Author sun | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @Description 数据-项目-机关日(月)统计 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @Description 数据-项目-网格日(月)统计 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     **/ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @Override | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public void gridProjectStats(ProjectStatsFormDTO formDTO) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        Date date = yesterDay(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //入参有时间的则按具体时间执行,没有的则按当前时间前一天执行
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (null != formDTO.getDate() && StringUtils.isNotBlank(formDTO.getDate())) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            date = DateUtils.parse(formDTO.getDate(), DateUtils.DATE_PATTERN); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //入参有客户Id的则按客户Id执行,没有的则全部客户都执行
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (null != formDTO.getCustomerId() && StringUtils.isNotBlank(formDTO.getCustomerId())) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            log.info("单独统计客户网格-项目-日月数据,当前统计的客户Id:" + formDTO.getCustomerId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            customerGridStats(formDTO.getCustomerId(), date); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            int pageNo = 1; | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |