|  |  | @ -3,9 +3,11 @@ package com.epmet.service.screen.impl; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.utils.DateUtils; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.utils.Result; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dao.indexcoll.FactIndexPartyAblityCpcMonthlyDao; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.indexcal.CalculateCommonFormDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.screen.form.IndexCalculateForm; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.entity.indexcoll.FactIndexPartyAblityCpcMonthlyEntity; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.feign.EpmetCommonServiceOpenFeignClient; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.service.indexcal.GridCorreLationService; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.service.screen.IndexCalculateService; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.util.DimIdGenerator; | 
			
		
	
		
			
				
					|  |  |  | import lombok.extern.slf4j.Slf4j; | 
			
		
	
	
		
			
				
					|  |  | @ -27,6 +29,8 @@ public class IndexCalculateServiceImpl implements IndexCalculateService { | 
			
		
	
		
			
				
					|  |  |  |     private EpmetCommonServiceOpenFeignClient epmetCommonServiceOpenFeignClient; | 
			
		
	
		
			
				
					|  |  |  |     @Autowired | 
			
		
	
		
			
				
					|  |  |  |     private FactIndexPartyAblityCpcMonthlyDao factIndexPartyAblityCpcMonthlyDao; | 
			
		
	
		
			
				
					|  |  |  |     @Autowired | 
			
		
	
		
			
				
					|  |  |  |     private GridCorreLationService gridCorreLationService; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     @Override | 
			
		
	
		
			
				
					|  |  |  |     public Boolean indexCalculate(IndexCalculateForm formDTO) { | 
			
		
	
	
		
			
				
					|  |  | @ -44,6 +48,7 @@ public class IndexCalculateServiceImpl implements IndexCalculateService { | 
			
		
	
		
			
				
					|  |  |  |             formDTO.setCustomerIds(externalCustomerIdsResult.getData()); | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |         formDTO.getCustomerIds().forEach(customerId -> { | 
			
		
	
		
			
				
					|  |  |  |             CalculateCommonFormDTO calculateCommonFormDTO=new CalculateCommonFormDTO(customerId, formDTO.getMonthId()); | 
			
		
	
		
			
				
					|  |  |  |             //计算党员
 | 
			
		
	
		
			
				
					|  |  |  |             try { | 
			
		
	
		
			
				
					|  |  |  |                 List<FactIndexPartyAblityCpcMonthlyEntity> list = factIndexPartyAblityCpcMonthlyDao.getCountByMonthId(customerId, formDTO.getMonthId()); | 
			
		
	
	
		
			
				
					|  |  | @ -53,7 +58,7 @@ public class IndexCalculateServiceImpl implements IndexCalculateService { | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |             //计算网格
 | 
			
		
	
		
			
				
					|  |  |  |             //TODO
 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |             gridCorreLationService.calculateGridCorreLation(calculateCommonFormDTO); | 
			
		
	
		
			
				
					|  |  |  |             //计算社区
 | 
			
		
	
		
			
				
					|  |  |  |             //TODO
 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | 
 |