|  |  | @ -9,10 +9,7 @@ import com.epmet.dto.indexcal.CalculateCommonFormDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.screen.form.IndexCalculateForm; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.feign.EpmetCommonServiceOpenFeignClient; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.redis.IndexCodeFieldReRedis; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.service.evaluationindex.indexcal.CpcIndexCalculateService; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.service.evaluationindex.indexcal.GridCorreLationService; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.service.evaluationindex.indexcal.IndexCalculateCommunityService; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.service.evaluationindex.indexcal.IndexCalculateService; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.service.evaluationindex.indexcal.*; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.util.DimIdGenerator; | 
			
		
	
		
			
				
					|  |  |  | import lombok.extern.slf4j.Slf4j; | 
			
		
	
		
			
				
					|  |  |  | import org.apache.commons.lang3.StringUtils; | 
			
		
	
	
		
			
				
					|  |  | @ -41,6 +38,12 @@ public class IndexCalculateServiceImpl implements IndexCalculateService { | 
			
		
	
		
			
				
					|  |  |  |     private IndexCodeFieldReRedis indexCodeFieldReRedis; | 
			
		
	
		
			
				
					|  |  |  |     @Autowired | 
			
		
	
		
			
				
					|  |  |  |     private IndexCalculateCommunityService indexCalculateCommunityService; | 
			
		
	
		
			
				
					|  |  |  |     @Autowired | 
			
		
	
		
			
				
					|  |  |  |     private IndexCalculateStreetService indexCalculateStreetService; | 
			
		
	
		
			
				
					|  |  |  |     @Autowired | 
			
		
	
		
			
				
					|  |  |  |     private IndexCalculateDistrictService indexCalculateDistrictService; | 
			
		
	
		
			
				
					|  |  |  |     @Autowired | 
			
		
	
		
			
				
					|  |  |  |     private DeptScoreService deptScoreService; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     @Override | 
			
		
	
		
			
				
					|  |  |  |     public Boolean indexCalculate(IndexCalculateForm formDTO) { | 
			
		
	
	
		
			
				
					|  |  | @ -87,6 +90,33 @@ public class IndexCalculateServiceImpl implements IndexCalculateService { | 
			
		
	
		
			
				
					|  |  |  |                     log.error("indexCalculate calAll exception", e); | 
			
		
	
		
			
				
					|  |  |  |                     break; | 
			
		
	
		
			
				
					|  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |                 //计算街道
 | 
			
		
	
		
			
				
					|  |  |  |                 try { | 
			
		
	
		
			
				
					|  |  |  |                     indexCalculateStreetService.calStreetAll(customerId,formDTO.getMonthId()); | 
			
		
	
		
			
				
					|  |  |  |                     log.info("indexCalculate calAll return result:{}", flag); | 
			
		
	
		
			
				
					|  |  |  |                 } catch (Exception e) { | 
			
		
	
		
			
				
					|  |  |  |                     log.error("indexCalculate calAll exception", e); | 
			
		
	
		
			
				
					|  |  |  |                     break; | 
			
		
	
		
			
				
					|  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |                 //计算区直属
 | 
			
		
	
		
			
				
					|  |  |  |                 try { | 
			
		
	
		
			
				
					|  |  |  |                     deptScoreService.calculateDeptCorreLation(calculateCommonFormDTO); | 
			
		
	
		
			
				
					|  |  |  |                     log.info("indexCalculate calAll return result:{}", flag); | 
			
		
	
		
			
				
					|  |  |  |                 } catch (Exception e) { | 
			
		
	
		
			
				
					|  |  |  |                     log.error("indexCalculate calAll exception", e); | 
			
		
	
		
			
				
					|  |  |  |                     break; | 
			
		
	
		
			
				
					|  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |                 //计算全区
 | 
			
		
	
		
			
				
					|  |  |  |                 try { | 
			
		
	
		
			
				
					|  |  |  |                     indexCalculateDistrictService.calDistrictAll(customerId,formDTO.getMonthId()); | 
			
		
	
		
			
				
					|  |  |  |                     log.info("indexCalculate calAll return result:{}", flag); | 
			
		
	
		
			
				
					|  |  |  |                 } catch (Exception e) { | 
			
		
	
		
			
				
					|  |  |  |                     log.error("indexCalculate calAll exception", e); | 
			
		
	
		
			
				
					|  |  |  |                     break; | 
			
		
	
		
			
				
					|  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |             return flag; | 
			
		
	
		
			
				
					|  |  |  |         } catch (Exception e) { | 
			
		
	
	
		
			
				
					|  |  | 
 |