|
|
@ -70,17 +70,36 @@ public class PopulationInformationController { |
|
|
|
return new Result<PageData<PopulationInformationDTO>>().ok(page); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("screenJinShui/page") |
|
|
|
public Result<PageData<PopulationInformationDTO>> pageForScreen(@RequestParam Map<String, Object> params){ |
|
|
|
PageData<PopulationInformationDTO> page = populationInformationService.listPage(params); |
|
|
|
return new Result<PageData<PopulationInformationDTO>>().ok(page); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("{id}") |
|
|
|
public Result<PopulationInformationDTO> get(@PathVariable("id") String id){ |
|
|
|
PopulationInformationDTO populationInformationDTOS = populationInformationService.get(id); |
|
|
|
return new Result<PopulationInformationDTO>().ok(populationInformationDTOS); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("screenJinShui/{id}") |
|
|
|
public Result<PopulationInformationDTO> getForScreen(@PathVariable("id") String id){ |
|
|
|
PopulationInformationDTO populationInformationDTOS = populationInformationService.get(id); |
|
|
|
return new Result<PopulationInformationDTO>().ok(populationInformationDTOS); |
|
|
|
} |
|
|
|
@GetMapping("getHouseHeadInfo") |
|
|
|
public Result<PopulationInformationDTO> getHouseHeadInfo(String id){ |
|
|
|
PopulationInformationDTO data = populationInformationService.getHouseHeadInfo(id); |
|
|
|
return new Result<PopulationInformationDTO>().ok(data); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("screenJinShui/getHouseHeadInfo") |
|
|
|
public Result<PopulationInformationDTO> getHouseHeadInfoForScreen(String id){ |
|
|
|
PopulationInformationDTO data = populationInformationService.getHouseHeadInfo(id); |
|
|
|
return new Result<PopulationInformationDTO>().ok(data); |
|
|
|
} |
|
|
|
|
|
|
|
@PostMapping |
|
|
|
public Result save(@RequestBody PopulationInformationDTO dto){ |
|
|
|
//效验数据
|
|
|
@ -218,6 +237,15 @@ public class PopulationInformationController { |
|
|
|
return new Result<PageData<EpdcScreenResidentInfoByCurrentAddressResultDTO>>().ok(page); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("screenJinShui/selectPeopleByCurrentAddress") |
|
|
|
public Result<PageData<EpdcScreenResidentInfoByCurrentAddressResultDTO>> selectPeopleByCurrentAddressForScreen(@RequestParam Map<String, Object> params){ |
|
|
|
List<EpdcScreenResidentInfoByCurrentAddressResultDTO> pointDeptStatisticsResultDTOS = populationInformationService.selectPeopleByCurrentAddressForPc(params); |
|
|
|
Integer total = populationInformationService.selectCountPeopleByCurrentAddressForPc(params); |
|
|
|
PageData<EpdcScreenResidentInfoByCurrentAddressResultDTO> page = new PageData<>(pointDeptStatisticsResultDTOS,total); |
|
|
|
return new Result<PageData<EpdcScreenResidentInfoByCurrentAddressResultDTO>>().ok(page); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description 以城找人 - 导出 |
|
|
|
* @Author songyunpeng |
|
|
|