| 
						
						
							
								
							
						
						
					 | 
					@ -137,11 +137,14 @@ public class DataReportingServiceImpl implements DataReportingService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						public List<EventInfoResultDTO> getEventInfo(EventInfoFormDTO formDTO) { | 
					 | 
					 | 
						public List<EventInfoResultDTO> getEventInfo(EventInfoFormDTO formDTO) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							List<EventInfoResultDTO> list; | 
					 | 
					 | 
							List<EventInfoResultDTO> list; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							//根据入参,获取项目
 | 
					 | 
					 | 
							//根据入参,获取项目
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							long start = System.currentTimeMillis(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							List<ScreenProjectDataDTO> projectList = screenProjectDataService.getProjectList(formDTO.getCustomerId(), formDTO.getProjectId(), formDTO.getPageNo(), formDTO.getPageSize()); | 
					 | 
					 | 
							List<ScreenProjectDataDTO> projectList = screenProjectDataService.getProjectList(formDTO.getCustomerId(), formDTO.getProjectId(), formDTO.getPageNo(), formDTO.getPageSize()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							log.error("事件上报-查询项目列表耗时:{}ms",System.currentTimeMillis()-start); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							//项目列表为空,返回空数组
 | 
					 | 
					 | 
							//项目列表为空,返回空数组
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							if(CollectionUtils.isEmpty(projectList)) { | 
					 | 
					 | 
							if(CollectionUtils.isEmpty(projectList)) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								return Collections.emptyList(); | 
					 | 
					 | 
								return Collections.emptyList(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							} | 
					 | 
					 | 
							} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							start = System.currentTimeMillis(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							Map<String, CustomerProjectCategoryDictEntity> epmetCodeMap = new HashMap<>(); | 
					 | 
					 | 
							Map<String, CustomerProjectCategoryDictEntity> epmetCodeMap = new HashMap<>(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							Result<String> parentCustomer =  operCrmOpenFeignClient.getExternalAndParentCustomerId(formDTO.getCustomerId()); | 
					 | 
					 | 
							Result<String> parentCustomer =  operCrmOpenFeignClient.getExternalAndParentCustomerId(formDTO.getCustomerId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							if (StringUtils.isNotBlank(parentCustomer.getData())) { | 
					 | 
					 | 
							if (StringUtils.isNotBlank(parentCustomer.getData())) { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -194,6 +197,7 @@ public class DataReportingServiceImpl implements DataReportingService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
									return dto; | 
					 | 
					 | 
									return dto; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
								}).collect(Collectors.toList()); | 
					 | 
					 | 
								}).collect(Collectors.toList()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							} | 
					 | 
					 | 
							} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
							log.error("事件上报-组装数据耗时:{}ms",System.currentTimeMillis()-start); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							return list.stream().collect(collectingAndThen(toCollection(() -> new TreeSet<>(Comparator.comparing(EventInfoResultDTO::getId))), ArrayList::new)); | 
					 | 
					 | 
							return list.stream().collect(collectingAndThen(toCollection(() -> new TreeSet<>(Comparator.comparing(EventInfoResultDTO::getId))), ArrayList::new)); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						} | 
					 | 
					 | 
						} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |