|  | @ -1,4 +1,4 @@ | 
			
		
	
		
		
			
				
					
					|  |  | package com.epmet.service.screen.impl; |  |  | package com.epmet.service.indexcal.impl; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | import com.alibaba.druid.util.StringUtils; |  |  | import com.alibaba.druid.util.StringUtils; | 
			
		
	
		
		
			
				
					|  |  | import com.epmet.commons.tools.constant.NumConstant; |  |  | import com.epmet.commons.tools.constant.NumConstant; | 
			
		
	
	
		
		
			
				
					|  | @ -13,8 +13,8 @@ import com.epmet.dto.screen.FactIndexCommunityScoreDTO; | 
			
		
	
		
		
			
				
					|  |  | import com.epmet.dto.screen.result.*; |  |  | import com.epmet.dto.screen.result.*; | 
			
		
	
		
		
			
				
					|  |  | import com.epmet.entity.screen.IndexGroupDetailEntity; |  |  | import com.epmet.entity.screen.IndexGroupDetailEntity; | 
			
		
	
		
		
			
				
					|  |  | import com.epmet.eum.IndexCodeEnum; |  |  | import com.epmet.eum.IndexCodeEnum; | 
			
		
	
		
		
			
				
					|  |  |  |  |  | import com.epmet.service.indexcal.IndexCalculateCommunityService; | 
			
		
	
		
		
			
				
					|  |  | import com.epmet.service.indexcal.IndexCodeFieldReService; |  |  | import com.epmet.service.indexcal.IndexCodeFieldReService; | 
			
		
	
		
		
			
				
					|  |  | import com.epmet.service.screen.IndexCalculateCommunityService; |  |  |  | 
			
		
	
		
		
			
				
					|  |  | import com.epmet.service.screen.IndexGroupDetailService; |  |  | import com.epmet.service.screen.IndexGroupDetailService; | 
			
		
	
		
		
			
				
					|  |  | import com.epmet.support.normalizing.*; |  |  | import com.epmet.support.normalizing.*; | 
			
		
	
		
		
			
				
					|  |  | import com.epmet.support.normalizing.batch.BatchScoreCalculator; |  |  | import com.epmet.support.normalizing.batch.BatchScoreCalculator; | 
			
		
	
	
		
		
			
				
					|  | @ -93,7 +93,7 @@ public class IndexCalculateCommunityServiceImpl implements IndexCalculateCommuni | 
			
		
	
		
		
			
				
					|  |  |                 }); |  |  |                 }); | 
			
		
	
		
		
			
				
					|  |  |             } else { |  |  |             } else { | 
			
		
	
		
		
			
				
					|  |  |                 // 社区名义发文数量
 |  |  |                 // 社区名义发文数量
 | 
			
		
	
		
		
			
				
					
					|  |  |                 List<Map<String, Object>> mapList = factIndexPartyAblityOrgMonthlyDao.selectPublishArticleCountMap(customerId, monthId); |  |  |                 List<Map<String, Object>> mapList = factIndexPartyAblityOrgMonthlyDao.selectPublishArticleCountMap(customerId, monthId,IndexCalConstant.COMMUNITY_LEVEL); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |                 if (CollectionUtils.isEmpty(mapList)) { |  |  |                 if (CollectionUtils.isEmpty(mapList)) { | 
			
		
	
		
		
			
				
					|  |  |                     log.error("查询社区名义发文数量集合为空"); |  |  |                     log.error("查询社区名义发文数量集合为空"); | 
			
		
	
		
		
			
				
					|  |  |                     return; |  |  |                     return; | 
			
		
	
	
		
		
			
				
					|  | @ -160,7 +160,7 @@ public class IndexCalculateCommunityServiceImpl implements IndexCalculateCommuni | 
			
		
	
		
		
			
				
					|  |  |                     }); |  |  |                     }); | 
			
		
	
		
		
			
				
					|  |  |                 } |  |  |                 } | 
			
		
	
		
		
			
				
					|  |  |             } else { |  |  |             } else { | 
			
		
	
		
		
			
				
					
					|  |  |                 List<Map<String, Object>> communityGovernAbility = factIndexGovrnAblityOrgMonthlyDao.selectCommunityGovernAbility(customerId, monthId); |  |  |                 List<Map<String, Object>> communityGovernAbility = factIndexGovrnAblityOrgMonthlyDao.selectCommunityGovernAbility(customerId, monthId,IndexCalConstant.COMMUNITY_LEVEL); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |                 if (communityGovernAbility.size() == NumConstant.ONE) { |  |  |                 if (communityGovernAbility.size() == NumConstant.ONE) { | 
			
		
	
		
		
			
				
					|  |  |                     // TODO
 |  |  |                     // TODO
 | 
			
		
	
		
		
			
				
					|  |  |                 } else if (communityGovernAbility.size() > NumConstant.ONE) { |  |  |                 } else if (communityGovernAbility.size() > NumConstant.ONE) { | 
			
		
	
	
		
		
			
				
					|  | @ -228,9 +228,9 @@ public class IndexCalculateCommunityServiceImpl implements IndexCalculateCommuni | 
			
		
	
		
		
			
				
					|  |  |                     }); |  |  |                     }); | 
			
		
	
		
		
			
				
					|  |  |                 } |  |  |                 } | 
			
		
	
		
		
			
				
					|  |  |             } else { |  |  |             } else { | 
			
		
	
		
		
			
				
					
					|  |  |                 List<Map<String, Object>> communityActivityCountList = factIndexServiceAblityOrgMonthlyDao.selectActivityCountMap(customerId, monthId); |  |  |                 List<Map<String, Object>> communityActivityCountList = factIndexServiceAblityOrgMonthlyDao.selectActivityCountMap(customerId, monthId,IndexCalConstant.COMMUNITY_LEVEL); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |                 if (CollectionUtils.isEmpty(communityActivityCountList)) { |  |  |                 if (CollectionUtils.isEmpty(communityActivityCountList)) { | 
			
		
	
		
		
			
				
					
					|  |  |                     log.error(""); |  |  |                     log.error("查询社区活动组织次数集合为空"); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |                     return; |  |  |                     return; | 
			
		
	
		
		
			
				
					|  |  |                 } |  |  |                 } | 
			
		
	
		
		
			
				
					|  |  |                 if (communityActivityCountList.size() == NumConstant.ONE) { |  |  |                 if (communityActivityCountList.size() == NumConstant.ONE) { |