From c3ce38cb41d4e4a7d036576b7be52ec2d8c3e724 Mon Sep 17 00:00:00 2001 From: CeDo <cedoogle@gmail.com> Date: 星期一, 12 四月 2021 16:07:46 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java | 63 ++++++++++++++++++++++++++++--- 1 files changed, 57 insertions(+), 6 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java index 922c4f7..bd49403 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java @@ -1,6 +1,7 @@ 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.*; @@ -8,13 +9,9 @@ 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.community.ComMngStructAreaVO; import com.panzhihua.common.model.vos.user.*; import org.springframework.cloud.openfeign.FeignClient; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.*; import java.util.List; @@ -584,5 +581,59 @@ */ @PostMapping("/common/data/user/export") R inputUserExport(@RequestBody ExportUserDTO exportUserDTO); - + + /** + * 基础数据》特殊群体》分页查询 + * @param pageInputUserDTO + * @return + */ + @PostMapping("common/data/special/page") + R specialInputUser(@RequestBody PageInputUserDTO pageInputUserDTO); + + /** + * 删除特殊群体用户 + * @param id + * @return + */ + @DeleteMapping("common/data/special/delete") + R deleteSpecialInputUser(@RequestParam(value = "id") Long id); + + /** + * 基础数据》特殊群体》分页查询标签列表 + * @param comMngUserTagDTO + * @return + */ + @PostMapping("common/data/special/tags/page") + R specialInputUserTags(@RequestBody ComMngUserTagDTO comMngUserTagDTO); + + /** + * 新增或修改特殊群体标签 + * @param comMngTagVO + * @return + */ + @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); } -- Gitblit v1.7.1