From 3ca7f722f25c1908bc4588c75dbde1f56a8d9877 Mon Sep 17 00:00:00 2001
From: DESKTOP-71BH0QO\L、ming <172680469@qq.com>
Date: 星期五, 26 三月 2021 10:08:46 +0800
Subject: [PATCH] Merge branch 'master' of http://gitlab.nhys.cdnhxx.com/root/zhihuishequ

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java |  110 ++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 101 insertions(+), 9 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 77a7501..c60ab80 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,22 +1,17 @@
 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.EexcelUserDTO;
-import com.panzhihua.common.model.dtos.user.PageFeedBackDTO;
-import com.panzhihua.common.model.dtos.user.PageUserAppletsBackstageDTO;
-import com.panzhihua.common.model.dtos.user.SysUserFeedbackDTO;
+import com.panzhihua.common.model.dtos.user.*;
 import com.panzhihua.common.model.vos.LoginUserInfoVO;
 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.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;
 
@@ -536,5 +531,102 @@
      */
     @PostMapping("export")
     R export(@RequestBody ExportUserDTO exportUserDTO);
-    
+
+    /**
+     * 通过手机号码查询用户信息
+     * @param phone
+     * @return
+     */
+    @GetMapping("getUserByPhone")
+    R getSysUserVOByPhone(@RequestParam(value = "phone") String phone);
+
+
+    /**
+     * 基础数据》居民管理》居民列表
+     * @param pageInputUserDTO 查询参数
+     * @return 分页数据
+     */
+    @PostMapping("common/data/user/page")
+    R pageInputUser(@RequestBody PageInputUserDTO pageInputUserDTO);
+
+    /**
+     * 基础数据》居民管理》设置用户标签
+     * @param inputUserTagsDTO 标签信息
+     * @return 设置结果
+     */
+    @PostMapping("common/data/user/tags")
+    R setInputUserTag(@RequestBody InputUserTagsDTO inputUserTagsDTO);
+
+    /**
+     * 基础数据》居民管理》批量导入居民用户
+     * @param list 居民用户集合
+     * @param areaName 小区名字
+     * @return 导入结果
+     */
+    @PostMapping("common/data/user/import")
+    R batchSaveInputUser(@RequestBody List<EexcelUserDTO> list,@RequestParam("areaName")StringBuffer areaName);
+
+    /**
+     * 基础数据》居民管理》 居民详情
+     * @param id 人员id
+     * @return CommunityUserInfoVO
+     */
+    @PostMapping("/common/data/user/detail")
+    R inputUserDetail(@RequestParam("id")Long id);
+
+    /**
+     *  基础数据》居民管理》 导出居民信息
+     * @param exportUserDTO 用户搜索内容
+     * @return List<EexcelUserDTO> excel内容
+     */
+    @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);
 }

--
Gitblit v1.7.1