| | |
| | | comActPopulationScreenVO.setOutNum(vo.getOutTotal() == null ? 0 : vo.getOutTotal().longValue()); |
| | | comActPopulationScreenVO.setSpecialNum(vo.getSpecialTotal() == null ? 0 : vo.getSpecialTotal().longValue()); |
| | | //统计已使用社区通人数 |
| | | setUsedCommunityNum(comActPopulationScreenVO,communityId); |
| | | Long count = populationDAO.countUsedCommunityPopulation(communityId); |
| | | comActPopulationScreenVO.setUsedCommunityNum(count == null ? 0 : count); |
| | | |
| | | //统计性别 |
| | | Map<String,Long> sexMap = populationDAO.countBySex(communityId); |
| | |
| | | return R.ok(comActPopulationScreenVO); |
| | | } |
| | | |
| | | private void setUsedCommunityNum(ComActPopulationScreenVO comActPopulationScreenVO, Long communityId) { |
| | | |
| | | } |
| | | |
| | | private void setCultureGroup(ComActPopulationScreenVO comActPopulationScreenVO, Long communityId) { |
| | | Map<String,Long> cultureMap = populationDAO.countByCulture(communityId); |