| 
						
						
							
								
							
						
						
					 | 
					@ -191,21 +191,21 @@ public class IcHouseServiceImpl extends BaseServiceImpl<IcHouseDao, IcHouseEntit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        //获取居民分类数量统计
 | 
					 | 
					 | 
					        //获取居民分类数量统计
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        IcResiUserDTO userDTO = new IcResiUserDTO(); | 
					 | 
					 | 
					        IcResiUserDTO userDTO = new IcResiUserDTO(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        userDTO.setBuildId(formDTO.getBuildingId()); | 
					 | 
					 | 
					        userDTO.setBuildId(formDTO.getBuildingId()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        Result<Map<String, Map<String, Integer>>> resultMap = epmetUserOpenFeignClient.getHomeUserCategoryCount(userDTO); | 
					 | 
					 | 
					        Result<Map<String, Map<String, String>>> resultMap = epmetUserOpenFeignClient.getHomeUserCategoryCount(userDTO); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        if (!resultMap.success()) { | 
					 | 
					 | 
					        if (!resultMap.success()) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            throw new RenException(resultMap.getCode(), resultMap.getMsg()); | 
					 | 
					 | 
					            throw new RenException(resultMap.getCode(), resultMap.getMsg()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        Map<String, Map<String, Integer>> map = resultMap.getData(); | 
					 | 
					 | 
					        Map<String, Map<String, String>> map = resultMap.getData(); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return list.stream().map(item -> { | 
					 | 
					 | 
					        return list.stream().map(item -> { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            Map<String, Integer> countMap = map.get(item.getId()); | 
					 | 
					 | 
					            Map<String, String> countMap = map.get(item.getId()); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					            HouseListResultDTO dto = new HouseListResultDTO(); | 
					 | 
					 | 
					            HouseListResultDTO dto = new HouseListResultDTO(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            dto.setHouseId(item.getId()); | 
					 | 
					 | 
					            dto.setHouseId(item.getId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            dto.setHouseName(item.getHouseName()); | 
					 | 
					 | 
					            dto.setHouseName(item.getHouseName()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            List<HouseListResultDTO.CategoryListBean> categories = new ArrayList<>(); | 
					 | 
					 | 
					            List<HouseListResultDTO.CategoryListBean> categories = new ArrayList<>(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            if (null != countMap && CollectionUtils.isNotEmpty(categoryList)) { | 
					 | 
					 | 
					            if (null != countMap && CollectionUtils.isNotEmpty(categoryList)) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                for (IcResiCategoryStatsConfigDTO category : categoryList) { | 
					 | 
					 | 
					                for (IcResiCategoryStatsConfigDTO category : categoryList) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                    if (null == countMap.get(category.getColumnName()) || countMap.get(category.getColumnName()) == NumConstant.ZERO) { | 
					 | 
					 | 
					                    if (null == countMap.get(category.getColumnName()) || NumConstant.ZERO_STR.equals(countMap.get(category.getColumnName()))) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                        continue; | 
					 | 
					 | 
					                        continue; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    } | 
					 | 
					 | 
					                    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    HouseListResultDTO.CategoryListBean bean = new HouseListResultDTO.CategoryListBean(); | 
					 | 
					 | 
					                    HouseListResultDTO.CategoryListBean bean = new HouseListResultDTO.CategoryListBean(); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |