From c7cb86db957dc7fbf6ca30270a71a43f5b31eccf Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期三, 13 四月 2022 09:29:03 +0800
Subject: [PATCH] 电动车商城-拼团活动接口开发

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/partybuilding/PartyBuildingService.java |   40 +++++++++++++++++++++++++++++++++++++++-
 1 files changed, 39 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/partybuilding/PartyBuildingService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/partybuilding/PartyBuildingService.java
index d6aa233..eded3bb 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/partybuilding/PartyBuildingService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/partybuilding/PartyBuildingService.java
@@ -2,6 +2,7 @@
 
 import java.util.List;
 
+import com.panzhihua.common.model.vos.partybuilding.excel.ComPbMemberRoleExcelVo;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.PostMapping;
@@ -112,6 +113,16 @@
      */
     @PostMapping("/partybuildIng/pagepartyorganization")
     R pagePartyOrganization(@RequestBody PagePartyOrganizationVO pagePartyOrganizationVO);
+
+    /**
+     * 导出党员信息
+     *
+     * @param pagePartyOrganizationVO
+     *            查询信息
+     * @return 分页数据
+     */
+    @PostMapping("/partybuildIng/exportPartyMember")
+    R exportPartyMember(@RequestBody PagePartyOrganizationVO pagePartyOrganizationVO);
 
     /**
      * 党员活动
@@ -463,11 +474,12 @@
      * 查询用户党员认证信息
      *
      * @param id
+     * @param communityId
      *            用户ID
      * @return 查询结果
      */
     @GetMapping("/partybuildIng/usercertification")
-    R userCertification(@RequestParam("id") Long id);
+    R userCertification(@RequestParam("id") Long id,@RequestParam("communityId")Long communityId);
 
     /**
      * 查询待认证党员信息
@@ -564,4 +576,30 @@
      */
     @GetMapping("/partybuildIng/getHeaderOrgDataStatistics")
     R getHeaderOrgDataStatistics(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 党员数据统计-党员导出数据查询
+     * @param statisticsMemberDto   请求参数
+     * @return  党员导出数据
+     */
+    @PostMapping("/partybuildIng/exportDataStatisticsMember")
+    R exportDataStatisticsMember(@RequestBody PageComDataStatisticsMemberDto statisticsMemberDto);
+
+    /**
+     * 党委导入接口
+     * @param memberRoleExcelVoList 数据列表
+     * @param communityId   社区id
+     * @param userId    用户id
+     * @return  导入结果
+     */
+    @PostMapping("/partybuildIng/importPbMemberRole")
+    R importPbMemberRole(@RequestBody List<ComPbMemberRoleExcelVo> memberRoleExcelVoList,@RequestParam("communityId") Long communityId,@RequestParam("userId") Long userId);
+
+    /**
+     * 身份证查询是否党员
+     * @param idCard
+     * @return
+     */
+    @GetMapping("/partybuildIng/checkMember")
+    R checkMember(@RequestParam("idCard")String idCard);
 }

--
Gitblit v1.7.1