| | |
| | | } |
| | | |
| | | /** |
| | | * 批量导入刑释人员 |
| | | * |
| | | * @param list 刑释人员数据 |
| | | * @param communityId 社区id |
| | | * @return 导入结果 |
| | | */ |
| | | @PostMapping("population/importRehabilitation") |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public R listSavePopulationRehabilitationExcelVO(@RequestBody List<ComMngPopulationRehabilitationExcelVO> list, @RequestParam(value = "communityId") Long communityId){ |
| | | return comMngPopulationService.listSaveRehabilitationPopulation(list, communityId); |
| | | } |
| | | |
| | | /** |
| | | * 批量导入重点上访人员 |
| | | * |
| | | * @param list 重点上访人员数据 |
| | | * @param communityId 社区id |
| | | * @return 导入结果 |
| | | */ |
| | | @Transactional(rollbackFor = Exception.class) |
| | | @PostMapping("population/importKey") |
| | | public R listSavePopulationKeyExcelVO(@RequestBody List<ComMngPopulationKeyExcelVO> list, @RequestParam(value = "communityId") Long communityId){ |
| | | return comMngPopulationService.listSaveKeyPopulation(list, communityId); |
| | | } |
| | | |
| | | /** |
| | | * 确认导入实有人口(有则更新,无则新建) |
| | | * |
| | | * @param list 用户信息 |