| | |
| | | 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.grid.EventGridMemberAddDTO; |
| | | import com.panzhihua.common.model.dtos.user.*; |
| | | import com.panzhihua.common.model.vos.EditUserInfoPassAppDTO; |
| | | import com.panzhihua.common.model.vos.LoginUserInfoVO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.SystemmanagementConfigVO; |
| | |
| | | @PostMapping("listfamily") |
| | | public R listFamily(@RequestParam("userId") Long userId, |
| | | @RequestParam(value = "pageNum") Long pageNum, |
| | | @RequestParam("pageNum") Long pageSize) { |
| | | @RequestParam("pageSize") Long pageSize) { |
| | | return userService.listFamily(userId, pageNum, pageSize); |
| | | } |
| | | |
| | |
| | | @PostMapping("updateuserispartymember") |
| | | public R updateUserIsPartymember(@RequestParam("idCard") String idCard) { |
| | | return userService.updateUserIsPartymember(idCard); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 修改用户为非党员状态 |
| | | * @param idCard 身份证号 |
| | | * @return 修改结果 |
| | | */ |
| | | @PostMapping("updateusernotpartymember") |
| | | R updateUserNotPartymember(@RequestParam("idCard")String idCard){ |
| | | return userService.updateUserNotPartymember(idCard); |
| | | } |
| | | |
| | | /** |
| | |
| | | public R updateUserArchives(@RequestBody UpdateUserArchivesVO userArchivesVO) { |
| | | return userService.updateUserArchives(userArchivesVO); |
| | | } |
| | | |
| | | /** |
| | | * 修改app用户密码 |
| | | * @param userInfoAppDTO 请求参数 |
| | | * @return 修改结果 |
| | | */ |
| | | @PutMapping("updateUserPassByApp") |
| | | public R updateUserPassByApp(@RequestBody EditUserInfoPassAppDTO userInfoAppDTO){ |
| | | return userService.updateUserPassByApp(userInfoAppDTO); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 添加网格员 |
| | | * @param eventGridMemberAddDTO 请求参数 |
| | | * @return 结果 |
| | | */ |
| | | @PostMapping("addGridUser") |
| | | R addGridUser(@RequestBody EventGridMemberAddDTO eventGridMemberAddDTO){ |
| | | return userService.addGridUser(eventGridMemberAddDTO); |
| | | } |
| | | } |