| | |
| | | populationDO = (ComMngPopulationDO)populationMap.get(populationKey); |
| | | ComMngPopulationDO updatePopulationDO = updatePopulationDO(vo,populationDO,labelList); |
| | | updateList.add(updatePopulationDO); |
| | | |
| | | ComMngPopulationMistakeExcelVO mistake = new ComMngPopulationMistakeExcelVO(); |
| | | BeanUtils.copyProperties(vo,mistake); |
| | | setMistake(mistake, vo); |
| | | mistake.setMistake("该实有人口已存在,执行更新,社区id::"+ populationDO.getActId()); |
| | | mistakes.add(mistake); |
| | | }else{ |
| | | //不存在实有人口,则新增 |
| | | populationDO = savePopulationDO(vo, populationActVO, comMngVillageDO,labelList); |
| | |
| | | } |
| | | comActPopulationScreenVO.setSpecialNum(specialNum.longValue()); |
| | | //统计已使用社区通人数 |
| | | // Long count = populationDAO.countUsedCommunityPopulation(communityId); |
| | | // comActPopulationScreenVO.setUsedCommunityNum(count == null ? 0 : count); |
| | | comActPopulationScreenVO.setUsedCommunityNum(1183L); |
| | | Long count = populationDAO.countUsedCommunityPopulation(communityId); |
| | | comActPopulationScreenVO.setUsedCommunityNum(count == null ? 0 : count); |
| | | // comActPopulationScreenVO.setUsedCommunityNum(1183L); |
| | | |
| | | //统计性别 |
| | | Map<String, Long> sexMap = populationDAO.countBySex(communityId); |