From b8c8df1c425dcf2ff7a677647d3039073bde17f4 Mon Sep 17 00:00:00 2001
From: 罗元桥 <2376770955@qq.com>
Date: 星期一, 27 九月 2021 13:36:18 +0800
Subject: [PATCH] Merge branch 'master' into 'test_bak'
---
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 738 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 691 insertions(+), 47 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
index 0146dcd..97e6841 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
@@ -4,6 +4,9 @@
import com.panzhihua.common.model.dtos.community.GetIdentityEidTokenDTO;
import com.panzhihua.common.model.dtos.community.*;
+import com.panzhihua.common.model.dtos.community.cluster.PageClusterMemberDto;
+import com.panzhihua.common.model.dtos.community.cluster.admin.*;
+import com.panzhihua.common.model.dtos.property.CommonPage;
import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussDetailDTO;
import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussPublishResultDTO;
import com.panzhihua.common.model.dtos.community.elder.ElderAuthStatisticHeaderDTO;
@@ -12,7 +15,9 @@
import com.panzhihua.common.model.dtos.community.elder.SignElderAuthStatisticDTO;
import com.panzhihua.common.model.dtos.neighbor.*;
import com.panzhihua.common.model.vos.community.*;
+import com.panzhihua.common.model.vos.community.cluster.admin.ComClusterMemberExcelVO;
import io.swagger.annotations.ApiOperation;
+import com.panzhihua.common.model.vos.community.*;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
@@ -50,12 +55,15 @@
import com.panzhihua.common.model.dtos.community.ComMngPopulationTagDTO;
import com.panzhihua.common.model.dtos.community.ComMngRealCompanyBelongsDTO;
import com.panzhihua.common.model.dtos.community.ComOpsHouseDTO;
+import com.panzhihua.common.model.dtos.community.ComSwDangerReportEditDTO;
import com.panzhihua.common.model.dtos.community.ComSwDangerReportHandleDTO;
import com.panzhihua.common.model.dtos.community.ComSwDangerReportRectifyDTO;
import com.panzhihua.common.model.dtos.community.ComSwPatrolRecordAddDTO;
+import com.panzhihua.common.model.dtos.community.ComSwPatrolRecordEditDTO;
import com.panzhihua.common.model.dtos.community.ComSwPatrolRecordPageDTO;
import com.panzhihua.common.model.dtos.community.ComSwRotaPageDTO;
import com.panzhihua.common.model.dtos.community.ComSwRotaSaveDTO;
+import com.panzhihua.common.model.dtos.community.ComSwSafetyWorkEditDTO;
import com.panzhihua.common.model.dtos.community.DisabledPersonsDTO;
import com.panzhihua.common.model.dtos.community.EditComActDynTypeDTO;
import com.panzhihua.common.model.dtos.community.EldersAuthAddByFamilyDTO;
@@ -68,6 +76,7 @@
import com.panzhihua.common.model.dtos.community.ExportComMngCarExcelDTO;
import com.panzhihua.common.model.dtos.community.ExportRealAssetsExcelDTO;
import com.panzhihua.common.model.dtos.community.ExportRealCompanyExcelDTO;
+import com.panzhihua.common.model.dtos.community.GetIdentityEidTokenDTO;
import com.panzhihua.common.model.dtos.community.GrantRewardDTO;
import com.panzhihua.common.model.dtos.community.KeyPersonInfoDTO;
import com.panzhihua.common.model.dtos.community.OperationDetailDTO;
@@ -88,6 +97,7 @@
import com.panzhihua.common.model.dtos.community.PageComMngVillageDTO;
import com.panzhihua.common.model.dtos.community.PageComOpsHouseDTO;
import com.panzhihua.common.model.dtos.community.PageComStreetDTO;
+import com.panzhihua.common.model.dtos.community.PageElderAuthRecordsDTO;
import com.panzhihua.common.model.dtos.community.PageEldersAuthDTO;
import com.panzhihua.common.model.dtos.community.PageEldersAuthElderlyDTO;
import com.panzhihua.common.model.dtos.community.PageEldersAuthHistoryDTO;
@@ -106,12 +116,34 @@
import com.panzhihua.common.model.dtos.community.bigscreen.work.ScreenActActivityPeopleListDTO;
import com.panzhihua.common.model.dtos.community.bigscreen.work.ScreenDiscussListDTO;
import com.panzhihua.common.model.dtos.community.bigscreen.work.ScreenMicroListDTO;
+import com.panzhihua.common.model.dtos.community.convenient.ConvenientMerchantDTO;
+import com.panzhihua.common.model.dtos.community.convenient.ConvenientProductCategoryDTO;
+import com.panzhihua.common.model.dtos.community.convenient.ConvenientProductDTO;
+import com.panzhihua.common.model.dtos.community.convenient.ConvenientServiceCategoryDTO;
+import com.panzhihua.common.model.dtos.community.convenient.DeleteConvenientProductDTO;
+import com.panzhihua.common.model.dtos.community.convenient.DisableOrEnableConvenientMerchantDTO;
+import com.panzhihua.common.model.dtos.community.convenient.ExportMerchantDTO;
+import com.panzhihua.common.model.dtos.community.convenient.OnShelfOrOffShelfProductDTO;
+import com.panzhihua.common.model.dtos.community.convenient.PageClassifyMerchantDTO;
+import com.panzhihua.common.model.dtos.community.convenient.PageConvenientMerchantDTO;
+import com.panzhihua.common.model.dtos.community.convenient.PageConvenientProductCategoryDTO;
+import com.panzhihua.common.model.dtos.community.convenient.PageConvenientProductDTO;
+import com.panzhihua.common.model.dtos.community.convenient.PageConvenientServiceCategoryDTO;
+import com.panzhihua.common.model.dtos.community.convenient.PagePopularMerchantDTO;
+import com.panzhihua.common.model.dtos.community.convenient.PageSearchDTO;
+import com.panzhihua.common.model.dtos.community.convenient.ResetPasswordConvenientMerchantDTO;
+import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussDetailDTO;
+import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussPublishResultDTO;
import com.panzhihua.common.model.dtos.community.easyPhoto.AddEasyPhotoActivityDTO;
import com.panzhihua.common.model.dtos.community.easyPhoto.AddEasyPhotoClassifyDTO;
import com.panzhihua.common.model.dtos.community.easyPhoto.EditEasyPhotoActivityDTO;
import com.panzhihua.common.model.dtos.community.easyPhoto.ExportEasyPhotoDTO;
import com.panzhihua.common.model.dtos.community.easyPhoto.PageEasyPhotoActivityDTO;
import com.panzhihua.common.model.dtos.community.easyPhoto.PageEasyPhotoActivityUserDTO;
+import com.panzhihua.common.model.dtos.community.elder.ElderAuthStatisticHeaderDTO;
+import com.panzhihua.common.model.dtos.community.elder.PageElderAuthStatisticDTO;
+import com.panzhihua.common.model.dtos.community.elder.PagePensionAuthStatisticDTO;
+import com.panzhihua.common.model.dtos.community.elder.SignElderAuthStatisticDTO;
import com.panzhihua.common.model.dtos.community.integral.ComActIntegralCommunityRankDTO;
import com.panzhihua.common.model.dtos.community.integral.admin.AddComActIntegralUserDTO;
import com.panzhihua.common.model.dtos.community.integral.admin.EditComActIntegralRuleDTO;
@@ -152,6 +184,23 @@
import com.panzhihua.common.model.dtos.grid.admin.ComMngVillageListExportAdminDTO;
import com.panzhihua.common.model.dtos.grid.admin.PageComMngVillagePopulationDTO;
import com.panzhihua.common.model.dtos.grid.admin.PageComMngVillagePopulationHouseDTO;
+import com.panzhihua.common.model.dtos.neighbor.AddComActNeighborCircleAppDTO;
+import com.panzhihua.common.model.dtos.neighbor.AddNeighborCircleTopicAdminDTO;
+import com.panzhihua.common.model.dtos.neighbor.AddNeighborCircleTopicAppDTO;
+import com.panzhihua.common.model.dtos.neighbor.ComActNeighborAddBrowseAppDTO;
+import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleAdminDTO;
+import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleAppDTO;
+import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleDetailAppDTO;
+import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleTopicAdminDTO;
+import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCommentAppDTO;
+import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCommentReplyAppDTO;
+import com.panzhihua.common.model.dtos.neighbor.ComActNeighborFabulousAppDTO;
+import com.panzhihua.common.model.dtos.neighbor.ComActNeighborForwardAppDTO;
+import com.panzhihua.common.model.dtos.neighbor.ComActNeighborReplyAppDTO;
+import com.panzhihua.common.model.dtos.neighbor.DeleteNeighborCircleAppDTO;
+import com.panzhihua.common.model.dtos.neighbor.DetailNeighborAllCommentByAdminDTO;
+import com.panzhihua.common.model.dtos.neighbor.DetailNeighborCommentReplyByAdminDTO;
+import com.panzhihua.common.model.dtos.property.CommonPage;
import com.panzhihua.common.model.dtos.shop.ComShopAddressDTO;
import com.panzhihua.common.model.dtos.shop.ComShopCartDTO;
import com.panzhihua.common.model.dtos.shop.ComShopEditNubCartDTO;
@@ -184,57 +233,11 @@
import com.panzhihua.common.model.vos.DictionaryVO;
import com.panzhihua.common.model.vos.R;
import com.panzhihua.common.model.vos.SystemmanagementConfigVO;
-import com.panzhihua.common.model.vos.community.ActivitySignVO;
-import com.panzhihua.common.model.vos.community.BatchhouseVO;
-import com.panzhihua.common.model.vos.community.ComActActEvaluateVO;
-import com.panzhihua.common.model.vos.community.ComActActRegistVO;
-import com.panzhihua.common.model.vos.community.ComActActivityVO;
-import com.panzhihua.common.model.vos.community.ComActDynVO;
-import com.panzhihua.common.model.vos.community.ComActEasyPhotoVO;
-import com.panzhihua.common.model.vos.community.ComActMessageBackVO;
-import com.panzhihua.common.model.vos.community.ComActMessageVO;
-import com.panzhihua.common.model.vos.community.ComActMicroWishVO;
-import com.panzhihua.common.model.vos.community.ComActReserveCommitVO;
-import com.panzhihua.common.model.vos.community.ComActVO;
-import com.panzhihua.common.model.vos.community.ComActWorkGuideVO;
-import com.panzhihua.common.model.vos.community.ComCvtServeExcelVO;
-import com.panzhihua.common.model.vos.community.ComEldersAuthElderlyDetailsVO;
-import com.panzhihua.common.model.vos.community.ComMngBuildingExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngCarExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngPopulationCorrectExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngPopulationCultExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngPopulationDisabilityExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngPopulationDrugExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngPopulationKeyExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngPopulationLowSecurityExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngPopulationMajorExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngPopulationRehabilitationExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngPopulationSentenceExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngPopulationServeExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngPopulationVO;
-import com.panzhihua.common.model.vos.community.ComMngPopulationVeteransExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngRealAssetsExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngRealAssetsVO;
-import com.panzhihua.common.model.vos.community.ComMngRealCompanyExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngRealCompanyVO;
-import com.panzhihua.common.model.vos.community.ComMngStructAreaVO;
-import com.panzhihua.common.model.vos.community.ComMngStructHouseVO;
-import com.panzhihua.common.model.vos.community.ComMngStructOtherBuildVO;
-import com.panzhihua.common.model.vos.community.ComMngVillageServeExcelVO;
-import com.panzhihua.common.model.vos.community.ComMngVillageVO;
-import com.panzhihua.common.model.vos.community.ComMngVolunteerMngVO;
-import com.panzhihua.common.model.vos.community.ComOpsHouseUndercarriageVO;
-import com.panzhihua.common.model.vos.community.ComOpsHouseVO;
-import com.panzhihua.common.model.vos.community.ComStreetVO;
-import com.panzhihua.common.model.vos.community.ComSwRotaExcelVO;
-import com.panzhihua.common.model.vos.community.EldersAuthDetailsVO;
-import com.panzhihua.common.model.vos.community.EldersAuthElderlyExcelVO;
-import com.panzhihua.common.model.vos.community.ResetComActMessageVO;
-import com.panzhihua.common.model.vos.community.SignactivityVO;
import com.panzhihua.common.model.vos.community.bigscreen.BigScreenStatisticAgeGender;
import com.panzhihua.common.model.vos.community.bigscreen.BigScreenStatisticPartyActivity;
import com.panzhihua.common.model.vos.community.bigscreen.BigScreenStatisticPartyBuild;
import com.panzhihua.common.model.vos.community.bigscreen.PartyBuildingMemberVO;
+import com.panzhihua.common.model.vos.community.convenient.ConvenientMerchantVO;
import com.panzhihua.common.model.vos.community.questnaire.EditComActQuestnaireVo;
import com.panzhihua.common.model.vos.community.questnaire.QuestnaireVO;
import com.panzhihua.common.model.vos.community.questnaire.UsersAnswerQuestnaireVO;
@@ -5910,4 +5913,645 @@
*/
@PostMapping("/elders/pension/auth/statistic/page")
R pagePensionAuthStatisticAdmin(@RequestBody PagePensionAuthStatisticDTO pensionAuthStatisticDTO);
+
+ /**
+ * 养老认证记标记
+ * @param signElderAuthStatisticDTO 请求参数
+ * @return 标记结果
+ */
+ @PostMapping("/elders/pension/auth/statistic/sign")
+ R signPensionAuthStatisticAdmin(@RequestBody SignElderAuthStatisticDTO signElderAuthStatisticDTO);
+
+ /**
+ * 养老认证表头统计
+ * @param statisticHeaderDTO 请求参数
+ * @return 统计结果
+ */
+ @PostMapping("/elders/pension/auth/header/statistic")
+ R getPensionAuthHeaderStatisticAdmin(@RequestBody ElderAuthStatisticHeaderDTO statisticHeaderDTO);
+
+ /**
+ * 分页查询所有数据
+ *
+ * @param commonPage 查询实体
+ * @return 所有数据
+ */
+ @PostMapping("/comActSocialOrg/queryAll")
+ R comActSocialOrgSelectAll(CommonPage commonPage);
+
+ /**
+ * 新增数据
+ *
+ * @param comActSocialOrg 实体对象
+ * @return 新增结果
+ */
+ @PostMapping("/comActSocialOrg")
+ R comActSocialOrgInsert(@RequestBody ComActSocialOrgVO comActSocialOrg);
+
+ /**
+ * 修改数据
+ *
+ * @param comActSocialOrg 实体对象
+ * @return 修改结果
+ */
+ @PostMapping("/comActSocialOrg/update")
+ R comActSocialOrgUpdate(@RequestBody ComActSocialOrgVO comActSocialOrg);
+
+ /**
+ * 删除数据
+ *
+ * @param id 主键结合
+ * @return 删除结果
+ */
+ @GetMapping("/comActSocialOrg/del")
+ R comActSocialOrgDelete(@RequestParam("id") Long id);
+
+ /**
+ * 分页查询所有数据
+ *
+ * @param commonPage 查询实体
+ * @return 所有数据
+ */
+ @PostMapping("/comActCommittee/queryAll")
+ R comActCommitteeSelectAll(@RequestBody CommonPage commonPage);
+ /**
+ * 新增数据
+ *
+ * @param comActCommittee 实体对象
+ * @return 新增结果
+ */
+ @PostMapping("/comActCommittee")
+ R comActCommitteeInsert(@RequestBody ComActCommiteeVO comActCommittee);
+ /**
+ * 修改数据
+ *
+ * @param comActCommittee 实体对象
+ * @return 修改结果
+ */
+ @PostMapping("/comActCommittee/update")
+ R comActCommitteeUpdate(@RequestBody ComActCommiteeVO comActCommittee);
+
+ /**
+ * 删除数据
+ *
+ * @param id 主键结合
+ * @return 删除结果
+ */
+ @GetMapping("/comActCommittee/del")
+ R comActCommitteeDelete(@RequestParam("id") Long id);
+
+ /**
+ * 分页查询所有数据
+ *
+ * @param commonPage 查询实体
+ * @return 所有数据
+ */
+ @PostMapping("/comProperty/queryAll")
+ R comPropertySelectAll(@RequestBody CommonPage commonPage);
+ /**
+ * 新增数据
+ *
+ * @param comPropertyVO 实体对象
+ * @return 新增结果
+ */
+ @PostMapping("/comProperty")
+ R comPropertyInsert(@RequestBody ComPropertyVO comPropertyVO);
+ /**
+ * 修改数据
+ *
+ * @param comPropertyVO 实体对象
+ * @return 修改结果
+ */
+ @PostMapping("/comProperty/update")
+ R comPropertyUpdate(@RequestBody ComPropertyVO comPropertyVO);
+
+ /**
+ * 删除数据
+ *
+ * @param id 主键结合
+ * @return 删除结果
+ */
+ @GetMapping("/comProperty/del")
+ R comPropertyDelete(@RequestParam("id") Long id);
+
+ /**
+ * 分页查询所有数据
+ *
+ * @param commonPage 查询实体
+ * @return 所有数据
+ */
+ @PostMapping("/comActFourMember/queryAll")
+ R comActFourMemberSelectAll(@RequestBody CommonPage commonPage);
+
+ /**
+ * 通过主键查询单条数据
+ *
+ * @param id 主键
+ * @return 单条数据
+ */
+ @GetMapping("/comActFourMember/{id}")
+ R comActFourMemberSelectOne(@PathVariable("id") Integer id);
+
+ /**
+ * 新增数据
+ *
+ * @param comActFourMember 实体对象
+ * @return 新增结果
+ */
+ @PostMapping("/comActFourMember")
+ R comActFourMemberInsert(@RequestBody ComActFourMemberVO comActFourMember);
+
+ /**
+ * 修改数据
+ *
+ * @param comActFourMember 实体对象
+ * @return 修改结果
+ */
+ @PostMapping("/comActFourMember/update")
+ R comActFourMemberUpdate(@RequestBody ComActFourMemberVO comActFourMember);
+
+ /**
+ * 删除数据
+ *
+ * @param comActFourMember 主键结合
+ * @return 删除结果
+ */
+ @PostMapping("/comActFourMember/del")
+ R comActFourMemberDelete(@RequestBody ComActFourMemberVO comActFourMember);
+
+ /**
+ * 楼栋查询
+ * @param communityId
+ * @return
+ */
+ @GetMapping("/building/query")
+ R comActFourMemberQueryBuilding(@RequestParam("communityId")Long communityId);
+
+ /**
+ * 查询房屋二级级联菜单
+ *
+ * @param cascadeHouseDTO
+ * 请求参数
+ * @return 菜单列表
+ */
+ @PostMapping("/common/data/population/second/list")
+ R getSecondHouseAddress(@RequestBody CascadeHouseDTO cascadeHouseDTO);
+
+ /**
+ * 微心愿处理人列表
+ * @param communityId 社区id
+ * @param type 处理人类型(1.后台用户 2.党员 3.志愿者)
+ * @return 处理人列表
+ */
+ @GetMapping("/wish/handle/list/admin")
+ R wishHandleListAdmin(@RequestParam(value = "communityId") Long communityId,@RequestParam("type") Integer type);
+
+ /**
+ * 便民服务新增分类
+ * @param convenientServiceCategoryDTO
+ * @return
+ */
+ @PostMapping("/convenient/service-category/add")
+ R addServiceCategory(@RequestBody ConvenientServiceCategoryDTO convenientServiceCategoryDTO);
+
+ /**
+ * 便民服务分类编辑
+ * @param convenientServiceCategoryDTO
+ * @return
+ */
+ @PutMapping("/convenient/service-category/put")
+ R putServiceCategory(@RequestBody ConvenientServiceCategoryDTO convenientServiceCategoryDTO);
+
+ /**
+ * 便民服务分类删除
+ * @param categoryId
+ * @return
+ */
+ @DeleteMapping("/convenient/service-category/delete")
+ R deleteServiceCategory(@RequestParam("categoryId") Long categoryId, @RequestParam("operator") Long operator);
+
+ /**
+ * 获取便民服务分类详情
+ * @param categoryId
+ * @return
+ */
+ @GetMapping("/convenient/service-category/get")
+ R getServiceCategory(@RequestParam("categoryId") Long categoryId);
+
+ /**
+ * 分页查询便民服务分类
+ * @param pageConvenientServiceCategoryDTO
+ * @return
+ */
+ @PostMapping("/convenient/service-category/page")
+ R pageServiceCategory(@RequestBody PageConvenientServiceCategoryDTO pageConvenientServiceCategoryDTO);
+
+ /**
+ * 便民服务新增商家
+ * @param convenientMerchantDTO
+ * @return
+ */
+ @PostMapping("/convenient/merchant/add")
+ R addMerchant(@RequestBody ConvenientMerchantDTO convenientMerchantDTO);
+
+ /**
+ * 编辑便民服务商家
+ * @param convenientMerchantDTO
+ * @return
+ */
+ @PutMapping("/convenient/merchant/put")
+ R putMerchant(@RequestBody ConvenientMerchantDTO convenientMerchantDTO);
+
+ /**
+ * 删除便民服务商家
+ * @param merchantId
+ * @param operator
+ * @return
+ */
+ @DeleteMapping("/convenient/merchant/delete")
+ R deleteMerchant(@RequestParam("merchantId") Long merchantId, @RequestParam("operator") Long operator);
+
+ /**
+ * 分页查询便民服务商家
+ * @param pageConvenientMerchantDTO
+ * @return
+ */
+ @PostMapping("/convenient/merchant/page")
+ R pageMerchant(@RequestBody PageConvenientMerchantDTO pageConvenientMerchantDTO);
+
+ /**
+ * 获取便民服务商家详情
+ * @param merchantId
+ * @return
+ */
+ @GetMapping("/convenient/merchant/get")
+ R getMerchant(@RequestParam("merchantId") Long merchantId);
+
+ /**
+ * 禁用/启用便民服务商家
+ * @param disableOrEnableConvenientMerchantDTO
+ * @return
+ */
+ @PutMapping("/convenient/merchant/disable-or-enable")
+ R disableOrEnableMerchant(@RequestBody DisableOrEnableConvenientMerchantDTO disableOrEnableConvenientMerchantDTO);
+
+ /**
+ * 重置便民服务商家账号密码
+ * @param resetPasswordConvenientMerchantDTO
+ * @return
+ */
+ @PutMapping("/convenient/merchant/reset-password")
+ R resetPasswordMerchant(@RequestBody ResetPasswordConvenientMerchantDTO resetPasswordConvenientMerchantDTO);
+
+ /**
+ * 获取所有便民服务分类
+ * @return
+ */
+ @GetMapping("/convenient/service-category/all")
+ R getAllServiceCategories();
+
+ /**
+ * 获取用户便民服务商家详情
+ * @param account 商家绑定账号
+ * @return
+ */
+ @GetMapping("/convenient/getUserMerchantInfoByAccount")
+ R<ConvenientMerchantVO> getUserMerchantInfoByAccount(@RequestParam("account") String account);
+
+ /**
+ * 获取商便民服务商家信息
+ * @param userId
+ * @return
+ */
+ @GetMapping("/convenient/merchantInfo")
+ R<ConvenientMerchantVO> getUserConvenientMerchantInfo(@RequestParam("userId") Long userId);
+
+ /**
+ * 新增便民服务产品分类信息
+ * @param convenientProductCategoryDTO
+ * @return
+ */
+ @PostMapping("/convenient/product-category/add")
+ R addProductCategory(@RequestBody ConvenientProductCategoryDTO convenientProductCategoryDTO);
+
+ /**
+ * 编辑便民服务产品分类信息
+ * @param convenientProductCategoryDTO
+ * @return
+ */
+ @PutMapping("/convenient/product-category/put")
+ R putProductCategory(@RequestBody ConvenientProductCategoryDTO convenientProductCategoryDTO);
+
+ /**
+ * 删除便民服务产品分类信息
+ * @param categoryId
+ * @param operator
+ * @return
+ */
+ @DeleteMapping("/convenient/product-category/delete")
+ R deleteProductCategory(@RequestParam("categoryId") Long categoryId, @RequestParam("operator") Long operator);
+
+ /**
+ * 获取便民服务产品分类详情
+ * @param categoryId
+ * @return
+ */
+ @GetMapping("/convenient/product-category/get")
+ R getProductCategory(@RequestParam("categoryId") Long categoryId);
+
+ /**
+ * 分页查询便民服务产品分类信息
+ * @param pageConvenientProductCategoryDTO
+ * @return
+ */
+ @PostMapping("/convenient/product-category/page")
+ R pageProductCategory(@RequestBody PageConvenientProductCategoryDTO pageConvenientProductCategoryDTO);
+
+ /**
+ * 便民服务商家后台新增产品
+ * @param convenientProductDTO
+ * @return
+ */
+ @PostMapping("/convenient/product/add")
+ R addProduct(@RequestBody ConvenientProductDTO convenientProductDTO);
+
+ /**
+ * 便民服务商家后台编辑产品
+ * @param convenientProductDTO
+ * @return
+ */
+ @PutMapping("/convenient/product/put")
+ R putProduct(@RequestBody ConvenientProductDTO convenientProductDTO);
+
+ /**
+ * 便民服务商家后台获取产品详情
+ * @param productId
+ * @return
+ */
+ @GetMapping("/convenient/product/get")
+ R getProduct(@RequestParam("productId") Long productId);
+
+ /**
+ * 便民服务商家后台分页获取产品信息
+ * @param pageConvenientProductDTO
+ * @return
+ */
+ @PostMapping("/convenient/product/page")
+ R pageProduct(@RequestBody PageConvenientProductDTO pageConvenientProductDTO);
+
+ /**
+ * 便民服务商家后台删除产品信息
+ * @param deleteConvenientProductDTO
+ * @return
+ */
+ @DeleteMapping("/convenient/product/delete")
+ R deleteProduct(@RequestBody DeleteConvenientProductDTO deleteConvenientProductDTO);
+
+ /**
+ * 便民服务商家后台上架/下架产品
+ * @param onShelfOrOffShelfProductDTO
+ * @return
+ */
+ @PutMapping("/convenient/product/onShelf-or-offShelf")
+ R onShelfOrOffShelfProduct(@RequestBody OnShelfOrOffShelfProductDTO onShelfOrOffShelfProductDTO);
+
+ /**
+ * 获取所有产品分类
+ * @return
+ */
+ @GetMapping("/convenient/product-category/all")
+ R getAllProductCategory();
+
+ /**
+ * 获取该社区商家数量大于0的分类
+ * @param communityId
+ * @return
+ */
+ @GetMapping("/convenient/service-category/suitable")
+ R getSuitableServiceCategories(@RequestParam("communityId") Long communityId);
+
+ /**
+ * 获取该社区下的热门商家
+ * @param pagePopularMerchantDTO
+ * @return
+ */
+ @PostMapping("/convenient/merchant/popular")
+ R getPopularMerchants(@RequestBody PagePopularMerchantDTO pagePopularMerchantDTO);
+
+ /**
+ * 分页获取服务类型下商家信息
+ * @param pageClassifyMerchantDTO
+ * @return
+ */
+ @PostMapping("/convenient/merchant/classify")
+ R getClassifyMerchants(@RequestBody PageClassifyMerchantDTO pageClassifyMerchantDTO);
+
+ /**
+ * 获取商家详情
+ * @param merchantId
+ * @return
+ */
+ @GetMapping("/convenient/merchant/detail")
+ R getMerchantDetail(@RequestParam("merchantId") Long merchantId);
+
+ /**
+ * 获取商家产品
+ * @param merchantId
+ * @return
+ */
+ @GetMapping("/convenient/product/list")
+ R getMerchantProduct(@RequestParam("merchantId") Long merchantId);
+
+ /**
+ * 获取产品详情
+ * @param productId
+ * @return
+ */
+ @GetMapping("/convenient/product/detail")
+ R getProductDetail(@RequestParam("productId") Long productId);
+
+ /**
+ * 搜索商家信息
+ * @param pageSearchDTO
+ * @return
+ */
+ @PostMapping("/convenient/merchant/search")
+ R pageSearchMerchant(@RequestBody PageSearchDTO pageSearchDTO);
+
+ /**
+ * 搜索商品信息
+ * @param pageSearchDTO
+ * @return
+ */
+ @PostMapping("/convenient/product/search")
+ R pageSearchProduct(@RequestBody PageSearchDTO pageSearchDTO);
+
+ /**
+ * 增加商家店铺咨询量
+ * @param merchantId
+ * @return
+ */
+ @GetMapping("/convenient/merchant/consult")
+ R consultMerchant(@RequestParam("merchantId") Long merchantId);
+
+ /**
+ * 增加产品浏览量
+ * @param productId
+ * @return
+ */
+ @GetMapping("/convenient/product/incr-view")
+ R incrProductView(@RequestParam("productId") Long productId);
+
+ /**
+ * 获取商家导出数据
+ * @param exportMerchantDTO
+ * @return
+ */
+ @PostMapping("/convenient/merchant/export")
+ R exportMerchant(@RequestBody ExportMerchantDTO exportMerchantDTO);
+
+ /**
+ * 增加商家店铺浏览量
+ * @param merchantId
+ * @return
+ */
+ @GetMapping("/convenient/merchant/incr-view")
+ R incrMerchantView(@RequestParam("merchantId") Long merchantId);
+
+ /**
+ * 定时任务每隔半小时将商家浏览量和咨询量总值计入指定商家数据中
+ * @return
+ */
+ @PostMapping("/convenient/timedTaskWriteDataToMerchantJobHandler")
+ R timedTaskWriteDataToMerchantJobHandler();
+
+ /**
+ * 获取商家上下架产品数量
+ * @param merchantId
+ * @return
+ */
+ @GetMapping("/convenient/product/shelf-num")
+ R getProductShelfNum(@RequestParam("merchantId") Long merchantId);
+
+ /**
+ * 群团组织成员列表-小程序分页查询
+ * @param pageClusterMemberDto 请求参数
+ * @return 群团组织成员列表
+ */
+ @PostMapping("/cluster/member/page/applets")
+ R pageClusterMemberApplets(@RequestBody PageClusterMemberDto pageClusterMemberDto);
+
+ /**
+ * 群团组织列表-小程序查询社区群团组织列表
+ * @param communityId 社区id
+ * @return 社区群团组织列表
+ */
+ @GetMapping("/cluster/list/applets")
+ R listClusterApplets(@RequestParam("communityId") Long communityId);
+
+ /**
+ * 分页查询群团组织列表
+ * @param pageClusterAdminDto 请求参数
+ * @return 群团组织列表
+ */
+ @PostMapping("/cluster/page/admin")
+ R pageClusterAdmin(@RequestBody PageClusterAdminDto pageClusterAdminDto);
+
+ /**
+ * 新增群团组织
+ * @param addClusterAdminDto 请求参数
+ * @return 新增结果
+ */
+ @PostMapping("/cluster/add/admin")
+ R addClusterAdmin(@RequestBody AddClusterAdminDto addClusterAdminDto);
+
+ /**
+ * 修改群团组织
+ * @param editClusterAdminDto 请求参数
+ * @return 修改结果
+ */
+ @PostMapping("/cluster/edit/admin")
+ R editClusterAdmin(@RequestBody EditClusterAdminDto editClusterAdminDto);
+
+ /**
+ * 删除群团组织
+ * @param id 组织id
+ * @return 删除结果
+ */
+ @GetMapping("/cluster/delete/admin")
+ R deleteClusterAdmin(@RequestParam("id") Long id);
+
+ /**
+ * 群团组织详情
+ * @param id 组织id
+ * @return 群团组织详情
+ */
+ @GetMapping("/cluster/detail/admin")
+ R detailClusterAdmin(@RequestParam("id") Long id);
+
+ /**
+ * 分页查询群团组织成员列表
+ * @param pageClusterMemberAdminDto 请求参数
+ * @return 群团组织成员列表
+ */
+ @PostMapping("/cluster/member/page/admin")
+ R pageClusterMemberAdmin(@RequestBody PageClusterMemberAdminDto pageClusterMemberAdminDto);
+
+ /**
+ * 新增群团组织成员
+ * @param addClusterMemberAdminDto 请求参数
+ * @return 新增结果
+ */
+ @PostMapping("/cluster/member/add/admin")
+ R addClusterMemberAdmin(@RequestBody AddClusterMemberAdminDto addClusterMemberAdminDto);
+
+ /**
+ * 编辑群团组织成员
+ * @param editClusterMemberAdminDto 请求参数
+ * @return 编辑结果
+ */
+ @PostMapping("/cluster/member/edit/admin")
+ R editClusterMemberAdmin(@RequestBody EditClusterMemberAdminDto editClusterMemberAdminDto);
+
+ /**
+ * 删除群团组织成员
+ * @param id 组织成员id
+ * @return 删除结果
+ */
+ @GetMapping("/cluster/member/delete/admin")
+ R deleteClusterMemberAdmin(@RequestParam("id") Long id);
+
+ /**
+ * 群团组织成员详情
+ * @param id 组织成员id
+ * @return 群团组织成员详情
+ */
+ @GetMapping("/cluster/member/detail/admin")
+ R detailClusterMemberAdmin(@RequestParam("id") Long id);
+
+ /**
+ * 查询系统民族列表
+ * @return 民族列表
+ */
+ @GetMapping("/cluster/member/nation/list/admin")
+ R memberNationListAdmin();
+
+ /**
+ * 群团组织成员导入
+ * @param list 导入数据
+ * @param communityId 社区id
+ * @param userId 操作用户id
+ * @return 导入结果
+ */
+ @PostMapping("/cluster/member/import/admin")
+ R importClusterMember(@RequestBody List<ComClusterMemberExcelVO> list,
+ @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId);
+
+ /**
+ * 群团组织导出数据查询
+ * @param pageClusterMemberAdminDto 请求参数
+ * @return 导出数据结果集
+ */
+ @PostMapping("/cluster/member/export/admin")
+ R exportClusterMember(@RequestBody PageClusterMemberAdminDto pageClusterMemberAdminDto);
}
--
Gitblit v1.7.1