From d0ae6a6e9a8123f4869417b46e5d7423f8ca66d6 Mon Sep 17 00:00:00 2001 From: 罗元桥 <2376770955@qq.com> Date: 星期五, 01 十月 2021 06:29:34 +0800 Subject: [PATCH] Merge branch 'test' into 'test_bak' --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 700 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 652 insertions(+), 48 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 9d7adc8..3807451 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,8 @@ 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; @@ -13,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; @@ -51,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; @@ -69,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; @@ -89,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; @@ -107,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; @@ -153,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; @@ -185,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; @@ -3152,7 +3154,7 @@ * @return 删除结果 */ @PostMapping("common/data/special/delete") - R deleteSpecialInputUser(@RequestParam(value = "id") Long id); + R deleteSpecialInputUser(@RequestParam(value = "id") Long id,@RequestParam("communityId") Long communityId); /** * 办事指南_新增 @@ -3560,6 +3562,16 @@ */ @PostMapping("/common/data/population/house/delete") R deleteHouses(@RequestBody List<Long> Ids); + + /** + * 新增实有房屋信息 + * + * @param houseEditAdminDTO + * 请求参数 + * @return 编辑结果 + */ + @PostMapping("/common/data/population/house/insert") + R insertHouse(@RequestBody ComMngPopulationHouseInsertAdminDTO houseEditAdminDTO); /** * 实有房屋统计 @@ -6031,4 +6043,596 @@ */ @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 cascadeHouseDTO + * 请求参数 + * @return 菜单列表 + */ + @PostMapping("/common/data/population/second/listBack") + public R getSecondHouse(@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 + * @param merchantId + */ + @GetMapping("/convenient/product-category/all") + R getAllProductCategory(@RequestParam("merchantId") Long merchantId); + + /** + * 获取该社区商家数量大于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); + + /** + * 社区后台分页查询微心愿 + * @param comActMicroWishVO 请求参数 + * @return 微心愿列表 + */ + @PostMapping("pagemicrowishAdmin") + R pageMicroWishAdmin(@RequestBody ComActMicroWishVO comActMicroWishVO); + + /** + * 小程序四长四员查询居民列表 + */ + @PostMapping("/comActFourMember/member") + R comActFourMemberQueryMember(@RequestBody CommonPage commonPage); + + /** + *居民数据详情 + */ + @GetMapping("/comActFourMember/memberDetail") + R comActFourMemberMemberDetail(@RequestParam("id")Long id); + + /** + * 根据房屋id列表删除房屋信息 + * + * @param comMngPopulationHouseUserVO + * 请求参数 + * @return 删除结果 + */ + @PostMapping("/common/data/population/house/user/delete") + R deleteHousesUser(@RequestBody ComMngPopulationHouseUserVO comMngPopulationHouseUserVO); + + /** + * 新增实有房屋信息 + * + * @param comMngPopulationHouseUserVO + * 请求参数 + * @return 编辑结果 + */ + @PostMapping("/common/data/population/house/user/insert") + public R insertHouseUser(@RequestBody ComMngPopulationHouseUserVO comMngPopulationHouseUserVO); + + /** + * 编辑实有房屋信息 + * + * @param comMngPopulationHouseUserVO + * 请求参数 + * @return 编辑结果 + */ + @PostMapping("/common/data/population/house/user/edit") + public R editHouseUser(@RequestBody ComMngPopulationHouseUserVO comMngPopulationHouseUserVO); + + /** + * 根据id查询 + * + * @param id + * 请求参数 + * @return 删除结果 + */ + @GetMapping("/common/data/population/house/user/detail") + public R detailHousesUser(@RequestParam("id") Long id); } -- Gitblit v1.7.1