|  |  | @ -159,16 +159,15 @@ public class IndexCalculateCommunityServiceImpl implements IndexCalculateCommuni | 
			
		
	
		
			
				
					|  |  |  |                     scoreEntity.setSelfScore(new BigDecimal(0)); | 
			
		
	
		
			
				
					|  |  |  |                     scoreEntity.setSubScore(new BigDecimal(0)); | 
			
		
	
		
			
				
					|  |  |  |                     scoreEntity.setParentIndexCode(index.getIndexCode()); | 
			
		
	
		
			
				
					|  |  |  |                     scoreEntity.setSelfWeight(new BigDecimal(0)); | 
			
		
	
		
			
				
					|  |  |  |                     scoreEntity.setSubWeight(new BigDecimal(0)); | 
			
		
	
		
			
				
					|  |  |  |                     scoreEntity.setSubWeight(weightMap.get(ProjectConstant.XIA_JI)); | 
			
		
	
		
			
				
					|  |  |  |                     scoreEntity.setSelfWeight(weightMap.get(ProjectConstant.ZI_SHEN)); | 
			
		
	
		
			
				
					|  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |                 BigDecimal partScore = score.getScore().multiply(score.getWeight()); | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |                 if (selfSubParentMap.get(ProjectConstant.XIA_JI).contains(score.getIndexCode())) { | 
			
		
	
		
			
				
					|  |  |  |                     scoreEntity.setSubScore(scoreEntity.getSubScore().add(partScore)); | 
			
		
	
		
			
				
					|  |  |  |                     scoreEntity.setSubWeight(weightMap.get(ProjectConstant.XIA_JI)); | 
			
		
	
		
			
				
					|  |  |  |                 } else { | 
			
		
	
		
			
				
					|  |  |  |                     scoreEntity.setSelfScore(scoreEntity.getSelfScore().add(partScore)); | 
			
		
	
		
			
				
					|  |  |  |                     scoreEntity.setSelfWeight(weightMap.get(ProjectConstant.ZI_SHEN)); | 
			
		
	
		
			
				
					|  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |                 log.debug("=====key" + key + ",grid:{},originScore:{},weight:{},finalScore:{},total", score.getAgencyId(), score.getScore(), score.getWeight(), partScore); | 
			
		
	
		
			
				
					|  |  |  |             }); | 
			
		
	
	
		
			
				
					|  |  | 
 |