| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | import java.util.List; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import com.panzhihua.common.model.dtos.community.ComExServicemanDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PagePopulationListDTO; |
| | | import com.panzhihua.common.model.dtos.grid.admin.ComMngPopulationExportDTO; |
| | |
| | | import com.panzhihua.service_community.service.ComExServicemanService; |
| | | 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.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | |
| | | @Slf4j |
| | | @RestController |
| | |
| | | /** |
| | | * 获取人口数据信息 |
| | | * |
| | | * @param populationListDTO 请求参数 |
| | | * @param populationListDTO |
| | | * 请求参数 |
| | | * @return 人口数据 |
| | | */ |
| | | @PostMapping("/list/app") |
| | |
| | | /** |
| | | * 根据人口id获取人口详情 |
| | | * |
| | | * @param populationId 人口id |
| | | * @param populationId |
| | | * 人口id |
| | | * @return 人口详情 |
| | | */ |
| | | @GetMapping("/detail/app") |
| | |
| | | |
| | | /** |
| | | * 综治后台-居民列表 |
| | | * @param populationListDTO 请求参数 |
| | | * |
| | | * @param populationListDTO |
| | | * 请求参数 |
| | | * @return 居民列表 |
| | | */ |
| | | @PostMapping("/grid/list") |
| | |
| | | |
| | | /** |
| | | * 综治后台-删除居民 |
| | | * @param ids 居民id集合 |
| | | * |
| | | * @param ids |
| | | * 居民id集合 |
| | | * @return 删除结果 |
| | | */ |
| | | @PostMapping("/grid/del") |
| | |
| | | |
| | | /** |
| | | * 综治后台-居民详情 |
| | | * @param populationId 居民id |
| | | * |
| | | * @param populationId |
| | | * 居民id |
| | | * @return 居民详情 |
| | | */ |
| | | @GetMapping("/grid/get") |
| | |
| | | |
| | | /** |
| | | * 综治后台-居民标签栏统计 |
| | | * |
| | | * @return 居民统计 |
| | | */ |
| | | @GetMapping("/grid/statistics") |
| | |
| | | |
| | | /** |
| | | * 综治后台-居民导出查询居民数据 |
| | | * @param populationExportDTO 请求参数 |
| | | * |
| | | * @param populationExportDTO |
| | | * 请求参数 |
| | | * @return 导出结果 |
| | | */ |
| | | @PostMapping("/grid/export") |
| | |
| | | |
| | | /** |
| | | * 综治后台-居民管理小区列表 |
| | | * @param name 小区名字 |
| | | * |
| | | * @param name |
| | | * 小区名字 |
| | | * @return 小区列表 |
| | | */ |
| | | @GetMapping("/village/relation") |
| | |
| | | /** |
| | | * 分页查询退役军人列表 |
| | | * |
| | | * @param comExServicemanDTO 请求参数 |
| | | * @param comExServicemanDTO |
| | | * 请求参数 |
| | | * @return 退役军人列表 |
| | | */ |
| | | @PostMapping("/page/exServiceman") |
| | | public R pageExServiceman(@RequestBody ComExServicemanDTO comExServicemanDTO){ |
| | | return comExServicemanService.getPageExServiceman(comExServicemanDTO); |
| | | } |
| | | |
| | | |
| | | } |