| 
						
						
							
								
							
						
						
					 | 
					@ -309,6 +309,7 @@ public class IndexCalculateStreetServiceImpl implements IndexCalculateStreetServ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        detailListByParentCode.forEach(detail -> { | 
					 | 
					 | 
					        detailListByParentCode.forEach(detail -> { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            if (IndexCodeEnum.JIE_DAO_XIA_SHU_SYSQZLNLHZ.getCode().equals(detail.getIndexCode())) { | 
					 | 
					 | 
					            if (IndexCodeEnum.JIE_DAO_XIA_SHU_SYSQZLNLHZ.getCode().equals(detail.getIndexCode())) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                List<SubCommunityAvgResultDTO> subGridGovernAvg = communityScoreDao.selectSubCommAvgScoreNew(customerId, monthId,IndexCodeEnum.ZHI_LI_NENG_LI.getCode(),quarterId,yearId); | 
					 | 
					 | 
					                List<SubCommunityAvgResultDTO> subGridGovernAvg = communityScoreDao.selectSubCommAvgScoreNew(customerId, monthId,IndexCodeEnum.ZHI_LI_NENG_LI.getCode(),quarterId,yearId); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                log.info("streetGovernAbilityCalculate: pjz {}",JSON.toJSONString(subGridGovernAvg)); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                if (CollectionUtils.isEmpty(subGridGovernAvg)){ | 
					 | 
					 | 
					                if (CollectionUtils.isEmpty(subGridGovernAvg)){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    log.warn("查询街道下属所有社区治理能力汇总为空"); | 
					 | 
					 | 
					                    log.warn("查询街道下属所有社区治理能力汇总为空"); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                }else if (subGridGovernAvg.size() > NumConstant.ZERO) { | 
					 | 
					 | 
					                }else if (subGridGovernAvg.size() > NumConstant.ZERO) { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -329,6 +330,7 @@ public class IndexCalculateStreetServiceImpl implements IndexCalculateStreetServ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } else { | 
					 | 
					 | 
					            } else { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                // 治理能力的六个五级指标
 | 
					 | 
					 | 
					                // 治理能力的六个五级指标
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                List<Map<String, Object>> communityGovernAbility = factIndexGovrnAblityOrgMonthlyDao.selectCommunityGovernAbilityNew(customerId, monthId,IndexCalConstant.STREET_LEVEL,quarterId,yearId); | 
					 | 
					 | 
					                List<Map<String, Object>> communityGovernAbility = factIndexGovrnAblityOrgMonthlyDao.selectCommunityGovernAbilityNew(customerId, monthId,IndexCalConstant.STREET_LEVEL,quarterId,yearId); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                log.info("streetGovernAbilityCalculate: {}",JSON.toJSONString(communityGovernAbility)); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                if (CollectionUtils.isEmpty(communityGovernAbility)){ | 
					 | 
					 | 
					                if (CollectionUtils.isEmpty(communityGovernAbility)){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    log.warn(IndexCalConstant.STREET_GOVERN_ABILITY_NULL); | 
					 | 
					 | 
					                    log.warn(IndexCalConstant.STREET_GOVERN_ABILITY_NULL); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                }else{ | 
					 | 
					 | 
					                }else{ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -360,6 +362,7 @@ public class IndexCalculateStreetServiceImpl implements IndexCalculateStreetServ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        log.info("streetGovernAbilityCalculate getScoreCountOfSampleId result:{}", JSON.toJSONString(scoreTotalOfSampleId)); | 
					 | 
					 | 
					        log.info("streetGovernAbilityCalculate getScoreCountOfSampleId result:{}", JSON.toJSONString(scoreTotalOfSampleId)); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        AgencyCalResultDTO result = getResultB(scoreTotalOfSampleId, customerId, monthId, NumConstant.ZERO_STR, IndexCodeEnum.ZHI_LI_NENG_LI.getCode(), IndexCodeEnum.JIE_DAO_XIANG_GUAN.getCode(), pid); | 
					 | 
					 | 
					        AgencyCalResultDTO result = getResultB(scoreTotalOfSampleId, customerId, monthId, NumConstant.ZERO_STR, IndexCodeEnum.ZHI_LI_NENG_LI.getCode(), IndexCodeEnum.JIE_DAO_XIANG_GUAN.getCode(), pid); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        insertDetail(result); | 
					 | 
					 | 
					        insertDetail(result); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        log.info("streetGovernAbilityCalculate: result{}",JSON.toJSONString(result)); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return true; | 
					 | 
					 | 
					        return true; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |