| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | import com.panzhihua.common.model.dtos.grid.PagePopulationListDTO; |
| | | import com.panzhihua.common.model.dtos.grid.admin.ComMngPopulationExportDTO; |
| | | import com.panzhihua.common.model.dtos.grid.admin.ComMngPopulationListDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleAppDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | |
| | | @Resource |
| | | private ComMngPopulationService comMngPopulationService; |
| | | |
| | | /** |
| | | * 获取人口数据信息 |
| | | * |
| | | * @param populationListDTO 请求参数 |
| | | * @return 人口数据 |
| | | */ |
| | | @PostMapping("/list/app") |
| | | public R pagePopulationList(@RequestBody PagePopulationListDTO populationListDTO) { |
| | | return comMngPopulationService.pagePopulationListApp(populationListDTO); |
| | | } |
| | | |
| | | /** |
| | | * 根据人口id获取人口详情 |
| | | * |
| | | * @param populationId 人口id |
| | | * @return 人口详情 |
| | | */ |
| | | @GetMapping("/detail/app") |
| | | public R getPopulationDetail(@RequestParam("populationId") Long populationId) { |
| | | return comMngPopulationService.getPopulationDetailApp(populationId); |
| | | } |
| | | |
| | | /** |
| | | * 修复人口加密问题 |
| | | * |
| | | * @return 修复结果 |
| | | */ |
| | | @GetMapping("/repair") |
| | | public R repair() { |
| | | return comMngPopulationService.getPopulationRepairByApp(); |
| | |
| | | return comMngPopulationService.binding(); |
| | | } |
| | | |
| | | /** |
| | | * 综治后台-居民标签栏统计 |
| | | * @return 居民统计 |
| | | */ |
| | | @GetMapping("/grid/statistics") |
| | | public R getGridPopulationStatistics(@RequestParam("communityId") Long communityId) { |
| | | return comMngPopulationService.getGridPopulationStatistics(communityId); |
| | | } |
| | | |
| | | /** |
| | | * 综治后台-居民导出 |
| | | * @param populationExportDTO 请求参数 |
| | | * @return 导出结果 |
| | | */ |
| | | @PostMapping("/grid/export") |
| | | public R getGridPopulationExport(@RequestBody ComMngPopulationExportDTO populationExportDTO) { |
| | | return comMngPopulationService.getGridPopulationExport(populationExportDTO); |
| | | } |
| | | |
| | | |
| | | } |