| | |
| | | |
| | | @ApiOperation(value = "excel导入实有人口") |
| | | @PostMapping(value = "/serve/import", consumes = "multipart/*", headers = "content-type=multipart/form-date") |
| | | @OperLog(operModul = "居民信息管理-实有人口导入", operType = 0, businessType = "实有人口导入-") |
| | | @OperLog(operModul = "居民信息管理-实有人口导入", operType = 0, businessType = "实有人口导入") |
| | | public R downloadPopulationTemplate(@RequestParam MultipartFile file, HttpServletRequest request) { |
| | | // 获取文件名 |
| | | String fileName = file.getOriginalFilename(); |
| | |
| | | |
| | | @ApiOperation(value = "excel导入吸毒人员") |
| | | @PostMapping(value = "/serve/importDrug", consumes = "multipart/*", headers = "content-type=multipart/form-date") |
| | | @OperLog(operModul = "居民信息管理-吸毒人员导入", operType = 0, businessType = "吸毒人员导入-") |
| | | @OperLog(operModul = "居民信息管理-吸毒人员导入", operType = 0, businessType = "吸毒人员导入") |
| | | public R importDrug(@RequestParam MultipartFile file, HttpServletRequest request) { |
| | | // 获取文件名 |
| | | String fileName = file.getOriginalFilename(); |
| | |
| | | |
| | | @ApiOperation(value = "excel导入社区矫正人员") |
| | | @PostMapping(value = "/serve/importCorrect", consumes = "multipart/*", headers = "content-type=multipart/form-date") |
| | | @OperLog(operModul = "居民信息管理-社区矫正人员导入", operType = 0, businessType = "社区矫正人员导入-") |
| | | @OperLog(operModul = "居民信息管理-社区矫正人员导入", operType = 0, businessType = "社区矫正人员导入") |
| | | public R importCorrect(@RequestParam MultipartFile file, HttpServletRequest request) { |
| | | // 获取文件名 |
| | | String fileName = file.getOriginalFilename(); |
| | |
| | | |
| | | @ApiOperation(value = "excel导入重精人员") |
| | | @PostMapping(value = "/serve/importMajor", consumes = "multipart/*", headers = "content-type=multipart/form-date") |
| | | @OperLog(operModul = "居民信息管理-重精人员导入", operType = 0, businessType = "重精人员导入-") |
| | | @OperLog(operModul = "居民信息管理-重精人员导入", operType = 0, businessType = "重精人员导入") |
| | | public R importMajor(@RequestParam MultipartFile file, HttpServletRequest request) { |
| | | // 获取文件名 |
| | | String fileName = file.getOriginalFilename(); |
| | |
| | | |
| | | @ApiOperation(value = "excel导入邪教人员") |
| | | @PostMapping(value = "/serve/importCult", consumes = "multipart/*", headers = "content-type=multipart/form-date") |
| | | @OperLog(operModul = "居民信息管理-邪教人员导入", operType = 0, businessType = "邪教人员导入-") |
| | | @OperLog(operModul = "居民信息管理-邪教人员导入", operType = 0, businessType = "邪教人员导入") |
| | | public R importCult(@RequestParam MultipartFile file, HttpServletRequest request) { |
| | | // 获取文件名 |
| | | String fileName = file.getOriginalFilename(); |
| | |
| | | @ApiOperation(value = "excel导入刑释人员") |
| | | @PostMapping(value = "/serve/importRehabilitation", consumes = "multipart/*", |
| | | headers = "content-type=multipart/form-date") |
| | | @OperLog(operModul = "居民信息管理-刑释人员导入", operType = 0, businessType = "刑释人员导入-") |
| | | @OperLog(operModul = "居民信息管理-刑释人员导入", operType = 0, businessType = "刑释人员导入") |
| | | public R importRehabilitation(@RequestParam MultipartFile file, HttpServletRequest request) { |
| | | // 获取文件名 |
| | | String fileName = file.getOriginalFilename(); |
| | |
| | | |
| | | @ApiOperation(value = "excel导入重点上访人员") |
| | | @PostMapping(value = "/serve/importKey", consumes = "multipart/*", headers = "content-type=multipart/form-date") |
| | | @OperLog(operModul = "居民信息管理-重点上访人员导入", operType = 0, businessType = "重点上访人员导入-") |
| | | @OperLog(operModul = "居民信息管理-重点上访人员导入", operType = 0, businessType = "重点上访人员导入") |
| | | public R importKey(@RequestParam MultipartFile file, HttpServletRequest request) { |
| | | // 获取文件名 |
| | | String fileName = file.getOriginalFilename(); |
| | |
| | | @ApiOperation(value = "excel导入服刑人员") |
| | | @PostMapping(value = "/serve/importSentence", consumes = "multipart/*", |
| | | headers = "content-type=multipart/form-date") |
| | | @OperLog(operModul = "居民信息管理-服刑人员导入", operType = 0, businessType = "服刑人员导入-") |
| | | @OperLog(operModul = "居民信息管理-服刑人员导入", operType = 0, businessType = "服刑人员导入") |
| | | public R importSentence(@RequestParam MultipartFile file, HttpServletRequest request) { |
| | | // 获取文件名 |
| | | String fileName = file.getOriginalFilename(); |
| | |
| | | @ApiOperation(value = "excel导入退役军人") |
| | | @PostMapping(value = "/serve/importVeterans", consumes = "multipart/*", |
| | | headers = "content-type=multipart/form-date") |
| | | @OperLog(operModul = "居民信息管理-退役军人导入", operType = 0, businessType = "退役军人导入-") |
| | | @OperLog(operModul = "居民信息管理-退役军人导入", operType = 0, businessType = "退役军人导入") |
| | | public R importVeterans(@RequestParam MultipartFile file, HttpServletRequest request) { |
| | | // 获取文件名 |
| | | String fileName = file.getOriginalFilename(); |
| | |
| | | @ApiOperation(value = "excel导入残疾人") |
| | | @PostMapping(value = "/serve/importDisability", consumes = "multipart/*", |
| | | headers = "content-type=multipart/form-date") |
| | | @OperLog(operModul = "居民信息管理-残疾人导入", operType = 0, businessType = "残疾人导入-") |
| | | @OperLog(operModul = "居民信息管理-残疾人导入", operType = 0, businessType = "残疾人导入") |
| | | public R importDisability(@RequestParam MultipartFile file, HttpServletRequest request) { |
| | | // 获取文件名 |
| | | String fileName = file.getOriginalFilename(); |
| | |
| | | @ApiOperation(value = "excel导入低保户") |
| | | @PostMapping(value = "/serve/importLowSecurity", consumes = "multipart/*", |
| | | headers = "content-type=multipart/form-date") |
| | | @OperLog(operModul = "居民信息管理-低保户导入", operType = 0, businessType = "低保户导入-") |
| | | @OperLog(operModul = "居民信息管理-低保户导入", operType = 0, businessType = "低保户导入") |
| | | public R importLowSecurity(@RequestParam MultipartFile file, HttpServletRequest request) { |
| | | // 获取文件名 |
| | | String fileName = file.getOriginalFilename(); |
| | |
| | | @ApiOperation(value = "excel导入高龄老人") |
| | | @PostMapping(value = "/serve/importElder", consumes = "multipart/*", |
| | | headers = "content-type=multipart/form-date") |
| | | @OperLog(operModul = "居民信息管理-高龄老人导入", operType = 0, businessType = "高龄老人导入-") |
| | | @OperLog(operModul = "居民信息管理-高龄老人导入", operType = 0, businessType = "高龄老人导入") |
| | | public R importElder(@RequestParam MultipartFile file, HttpServletRequest request) { |
| | | // 获取文件名 |
| | | String fileName = file.getOriginalFilename(); |
| | |
| | | @ApiOperation(value = "excel导入养老金人员") |
| | | @PostMapping(value = "/serve/importPension", consumes = "multipart/*", |
| | | headers = "content-type=multipart/form-date") |
| | | @OperLog(operModul = "居民信息管理-养老金人员导入", operType = 0, businessType = "养老金人员导入-") |
| | | @OperLog(operModul = "居民信息管理-养老金人员导入", operType = 0, businessType = "养老金人员导入") |
| | | public R importPension(@RequestParam MultipartFile file, HttpServletRequest request) { |
| | | // 获取文件名 |
| | | String fileName = file.getOriginalFilename(); |
| | |
| | | */ |
| | | @ApiOperation(value = "excel-确认导入实有人口") |
| | | @PostMapping(value = "/import/confirm", consumes = "multipart/*", headers = "content-type=multipart/form-date") |
| | | @OperLog(operModul = "居民信息管理-实有人口导入", operType = 0, businessType = "实有人口导入-") |
| | | @OperLog(operModul = "居民信息管理-实有人口导入", operType = 0, businessType = "实有人口导入") |
| | | public R listSavePopulationConfirm(@RequestParam MultipartFile file, HttpServletRequest request) { |
| | | // 获取文件名 |
| | | String fileName = file.getOriginalFilename(); |
| | |
| | | |
| | | @ApiOperation(value = "编辑实有人口") |
| | | @PostMapping(value = "/edit") |
| | | @OperLog(operModul = "居民信息管理-编辑", operType = 2, businessType = "编辑-") |
| | | @OperLog(operModul = "居民信息管理-编辑", operType = 2, businessType = "编辑") |
| | | public R editPopulationInfo(@RequestBody ComMngPopulationEditDTO populationEditDTO) { |
| | | LoginUserInfoVO loginUserInfo = getLoginUserInfo(); |
| | | return communityService.editPopulation(populationEditDTO, loginUserInfo.getCommunityId()); |
| | |
| | | |
| | | @ApiOperation(value = "批量删除实有人口") |
| | | @PostMapping("/delete") |
| | | @OperLog(operModul = "居民信息管理-批量删除实有人口", operType = 3, businessType = "批量删除实有人口-") |
| | | @OperLog(operModul = "居民信息管理-批量删除实有人口", operType = 3, businessType = "批量删除实有人口") |
| | | public R deletePopulations(@RequestBody List<Long> ids) { |
| | | return communityService.deletePopulations(ids, this.getCommunityId()); |
| | | } |
| | |
| | | |
| | | @ApiOperation(value = "实有人口-数据导出") |
| | | @PostMapping("/data/export") |
| | | @OperLog(operModul = "居民信息管理-实有人口导出", operType = 0, businessType = "实有人口导出-") |
| | | @OperLog(operModul = "居民信息管理-实有人口导出", operType = 0, businessType = "实有人口导出") |
| | | public R dataExportPopulation(@RequestBody List<Long> Ids) { |
| | | // 获取登陆用户 |
| | | LoginUserInfoVO loginUserInfo = this.getLoginUserInfo(); |