| | |
| | | package com.panzhihua.common.service.user; |
| | | |
| | | 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.*; |
| | |
| | | import com.panzhihua.common.model.vos.MenuVO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.SystemmanagementConfigVO; |
| | | import com.panzhihua.common.model.vos.shop.ShopStoreVO; |
| | | import com.panzhihua.common.model.vos.user.*; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | @PostMapping("putuserisvolunteer") |
| | | R putUserIsVolunteer(@RequestParam("phone") String phone,@RequestParam("type")int type); |
| | | |
| | | |
| | | /** |
| | | * 修改用户志愿者状态 |
| | | * @param userId 用户ID |
| | | * @param type 1 支援者 0不是志愿者 |
| | | */ |
| | | @PostMapping("putuserisvolunteerbyid") |
| | | R putUserIsVolunteerById(@RequestParam("userId") Long userId,@RequestParam("type")int type); |
| | | |
| | | /** |
| | | * 用户绑定社区、小区 |
| | | * @param loginUserInfoVO 社区小区数据 |
| | |
| | | * @return 成员集合 |
| | | */ |
| | | @PostMapping("listfamily") |
| | | R listFamily(@RequestParam("userId")Long userId); |
| | | R listFamily(@RequestParam("userId")Long userId, |
| | | @RequestParam(value = "pageNum") Long pageNum, |
| | | @RequestParam("pageNum") Long pageSize); |
| | | |
| | | /** |
| | | * 新增家庭成员 |
| | |
| | | @GetMapping("getUserByPhone") |
| | | R getSysUserVOByPhone(@RequestParam(value = "phone") String phone); |
| | | |
| | | /** |
| | | * 通过账号查询用户信息 |
| | | * @param account |
| | | * @return |
| | | */ |
| | | @GetMapping("getUserByAccount") |
| | | R getSysUserVOByAccountAndType(@RequestParam(value = "account") String account,@RequestParam(value = "type") Integer type); |
| | | |
| | | |
| | | /** |
| | | * 基础数据》居民管理》居民列表 |
| | |
| | | * @return |
| | | */ |
| | | @PostMapping("common/data/special/tags/page") |
| | | R specialInputUserTags(@RequestBody ComMngUserTagDTO comMngUserTagDTO); |
| | | R specialInputUserTags(@RequestBody PageInputUserDTO comMngUserTagDTO); |
| | | |
| | | /** |
| | | * 新增或修改特殊群体标签 |
| | |
| | | @PostMapping("common/data/special/tags/save") |
| | | R saveSpecialInputUserTags(@RequestBody ComMngTagVO comMngTagVO); |
| | | |
| | | /** |
| | | * 删除特殊群体标签 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @DeleteMapping("common/data/special/tags/delete") |
| | | R deleteSpecialInputUserTags(@RequestParam(value = "id") Long id); |
| | | |
| | | /** |
| | | * 特殊群体导出 |
| | | * @param exportSpecialUserDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/common/data/special/export") |
| | | R specialUserExport(@RequestBody ExportSpecialUserDTO exportSpecialUserDTO); |
| | | |
| | | /** |
| | | * 查询所有人员标签 |
| | | * @return 标签集合 |
| | | */ |
| | | @PostMapping("listtag/getTag") |
| | | R listTags(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 添加SysUser信息 |
| | | * @param storeVO sysUser信息 |
| | | * @return 添加sysUser结果 |
| | | */ |
| | | @PostMapping("addSysUser") |
| | | R addSysUser(@RequestBody ShopStoreVO storeVO); |
| | | |
| | | /** |
| | | * 修改SysUser信息 |
| | | * @param storeVO sysUser信息 |
| | | * @return 修改结果 |
| | | */ |
| | | @PostMapping("editSysUser") |
| | | R editSysUser(@RequestBody ShopStoreVO storeVO); |
| | | |
| | | /** |
| | | * 修改用户小程序首页活动提示 |
| | | * @param userEditTipsDTO 请求参数 |
| | | * @return 修改结果 |
| | | */ |
| | | @PostMapping("editUserTips") |
| | | R editUserTips(@RequestBody SysUserEditTipsDTO userEditTipsDTO); |
| | | |
| | | /** |
| | | * 获取用户电子档案 |
| | | * @param userId 家庭成员信息 |
| | | * @return 结果 |
| | | */ |
| | | @GetMapping("getUserArchives") |
| | | R getUserArchives(@RequestParam("userId") Long userId); |
| | | |
| | | /** |
| | | * 编辑用户电子档案 |
| | | * @param userArchivesVO 编辑的信息 |
| | | * @return 编辑结果 |
| | | */ |
| | | @PostMapping("updateUserArchives") |
| | | R updateUserArchives(@RequestBody UpdateUserArchivesVO userArchivesVO); |
| | | } |