| | |
| | | package com.panzhihua.service_user.api; |
| | | |
| | | import com.panzhihua.common.model.dtos.PageDTO; |
| | | import com.panzhihua.common.model.dtos.community.ExportSpecialUserDTO; |
| | | import com.panzhihua.common.model.dtos.community.ExportUserDTO; |
| | | import com.panzhihua.common.model.dtos.community.NoticeReadDTO; |
| | | import com.panzhihua.common.model.dtos.user.*; |
| | |
| | | * @param pageInputUserDTO 查询参数 |
| | | * @return 分页数据 |
| | | */ |
| | | @PostMapping("/common/data/user/page") |
| | | @PostMapping("common/data/user/page") |
| | | public R pageInputUser(@RequestBody PageInputUserDTO pageInputUserDTO){ |
| | | return sysUserInputService.pageInputUser(pageInputUserDTO); |
| | | } |
| | |
| | | * @param inputUserTagsDTO 标签信息 |
| | | * @return 设置结果 |
| | | */ |
| | | @PostMapping("/common/data/user/tags") |
| | | @PostMapping("common/data/user/tags") |
| | | public R setInputUserTag(@RequestBody InputUserTagsDTO inputUserTagsDTO){ |
| | | return sysUserInputService.putUserTag(inputUserTagsDTO); |
| | | } |
| | |
| | | * @param areaName 小区名字 |
| | | * @return 导入结果 |
| | | */ |
| | | @PostMapping("/common/data/user/import") |
| | | @PostMapping("common/data/user/import") |
| | | public R batchSaveInputUser(@RequestBody List<EexcelUserDTO> list,@RequestParam("areaName")StringBuffer areaName){ |
| | | R r = null; |
| | | try { |
| | |
| | | * @param id 人员id |
| | | * @return CommunityUserInfoVO |
| | | */ |
| | | @PostMapping("/common/data/user/detail") |
| | | @PostMapping("common/data/user/detail") |
| | | public R inputUserDetail(@RequestParam("id")Long id){ |
| | | return sysUserInputService.inputUserDetail(id); |
| | | } |
| | |
| | | * @param exportUserDTO 用户搜索内容 |
| | | * @return List<EexcelUserDTO> excel内容 |
| | | */ |
| | | @PostMapping("/common/data/user/export") |
| | | @PostMapping("common/data/user/export") |
| | | public R inputUserExport(@RequestBody ExportUserDTO exportUserDTO){ |
| | | return sysUserInputService.exportInputUser(exportUserDTO); |
| | | } |
| | |
| | | R saveSpecialInputUserTags(@RequestBody ComMngTagVO comMngTagVO) { |
| | | return sysUserInputService.saveSpecialInputUserTags(comMngTagVO); |
| | | } |
| | | |
| | | /** |
| | | * 删除特殊群体标签 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @DeleteMapping("common/data/special/tags/delete") |
| | | R deleteSpecialInputUserTags(@RequestParam(value = "id") Long id) { |
| | | return sysUserInputService.deleteSpecialInputUserTags(id); |
| | | } |
| | | |
| | | /** |
| | | * 特殊群体导出 |
| | | * @param exportSpecialUserDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("common/data/special/export") |
| | | R specialUserExport(@RequestBody ExportSpecialUserDTO exportSpecialUserDTO) { |
| | | return sysUserInputService.specialUserExport(exportSpecialUserDTO); |
| | | } |
| | | } |