| | |
| | | private ComMngProvinceService comMngProvinceService; |
| | | @Resource |
| | | private ComMngPopulationService comMngPopulationService; |
| | | @Resource |
| | | private ComMngPopulationHouseService comMngPopulationHouseService; |
| | | |
| | | |
| | | /** |
| | |
| | | |
| | | /** |
| | | * 编辑实有人口 |
| | | * @param editComMngPopulationVO |
| | | * @param populationEditDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/population/edit") |
| | | R editPopulation(@RequestBody EditComMngPopulationVO editComMngPopulationVO,@RequestParam("communityId") Long communityId){ |
| | | return comMngPopulationService.editPopulation(editComMngPopulationVO, communityId); |
| | | R editPopulation(@RequestBody ComMngPopulationEditDTO populationEditDTO,@RequestParam("communityId") Long communityId) throws Exception{ |
| | | return comMngPopulationService.editPopulation(populationEditDTO, communityId); |
| | | } |
| | | |
| | | /** |
| | |
| | | return comMngPopulationService.editUserElectronicFile(userElectronicFileVO); |
| | | } |
| | | |
| | | /** |
| | | * 实有人口统计 |
| | | * @param communityId 社区id |
| | | * @return 统计结果 |
| | | */ |
| | | @PostMapping("/population/Statistics") |
| | | public R getPopulationTotalByAdmin(@RequestParam("communityId") Long communityId) { |
| | | return comMngPopulationService.getPopulationTotalByAdmin(communityId); |
| | | } |
| | | |
| | | /** |
| | | * 查询房屋级联菜单 |
| | | * @param cascadeHouseDTO 请求参数 |
| | | * @return 菜单列表 |
| | | */ |
| | | @PostMapping("/population/cascade/list") |
| | | public R getCascadeHouseAddress(@RequestBody CascadeHouseDTO cascadeHouseDTO){ |
| | | return comMngPopulationHouseService.getCascadeHouseAddress(cascadeHouseDTO); |
| | | } |
| | | |
| | | } |