| | |
| | | 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.grid.admin.ComMngPopulationRelationHouseDTO; |
| | | import com.panzhihua.common.model.dtos.grid.admin.ComMngPopulationSubordinateDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleAppDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.service_community.service.ComMngPopulationHouseService; |
| | | import com.panzhihua.service_community.service.ComMngPopulationService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | |
| | | @Resource |
| | | private ComMngPopulationService comMngPopulationService; |
| | | @Resource |
| | | private ComMngPopulationHouseService comMngPopulationHouseService; |
| | | |
| | | /** |
| | | * 获取人口数据信息 |
| | |
| | | } |
| | | |
| | | /** |
| | | * 综治后台-居民导出 |
| | | * 综治后台-居民导出查询居民数据 |
| | | * @param populationExportDTO 请求参数 |
| | | * @return 导出结果 |
| | | */ |
| | |
| | | return comMngPopulationService.getGridPopulationExport(populationExportDTO); |
| | | } |
| | | |
| | | /** |
| | | * 综治后台-居民管理小区列表 |
| | | * @param name 小区名字 |
| | | * @return 小区列表 |
| | | */ |
| | | @GetMapping("/village/relation") |
| | | public R relationVillage(@RequestParam("name") String name) { |
| | | return comMngPopulationService.relationVillage(name); |
| | | } |
| | | |
| | | @PostMapping("/subordinate") |
| | | public R subordinate(@RequestBody ComMngPopulationSubordinateDTO subordinateDTO) { |
| | | return comMngPopulationHouseService.subordinate(subordinateDTO); |
| | | } |
| | | |
| | | @PostMapping("/relation/house") |
| | | public R populationRelationHouse(@RequestBody ComMngPopulationRelationHouseDTO relationHouseDTO) { |
| | | return comMngPopulationHouseService.populationRelationHouse(relationHouseDTO); |
| | | } |
| | | |
| | | |
| | | } |