From eb80b83a3d4a0b59325e90405dc6c687c2904d3a Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期三, 05 一月 2022 14:45:16 +0800 Subject: [PATCH] 商家后台相关代码提交 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 1321 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 1,290 insertions(+), 31 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 7ecdd82..e67238b 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 @@ -2,26 +2,24 @@ import java.util.List; -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; -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.neighbor.*; -import com.panzhihua.common.model.vos.community.*; -import com.panzhihua.common.model.vos.community.cluster.admin.ComClusterMemberExcelVO; -import com.panzhihua.common.model.vos.community.warehouse.ComActWarehouseApplyVO; -import com.panzhihua.common.model.vos.community.warehouse.ComActWarehouseBaseVO; -import com.panzhihua.common.model.vos.community.warehouse.QRCodeVO; -import io.swagger.annotations.ApiOperation; -import com.panzhihua.common.model.vos.community.*; +import com.panzhihua.common.model.dtos.PageBaseDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.DisableOrEnableMcsMerchantDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsGameDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsInfoDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsMerchantDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsProductDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.PageMcsEvaluateDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.PageMcsGameDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.PageMcsInformationDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.PageMcsMerchantDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.PageMcsProductDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.SetPopularForGameDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.SetShelfForGameDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.SetShelfForInfoDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.SetShelfForProductDTO; +import com.panzhihua.common.model.vos.community.microCommercialStreet.McsConfigVO; import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.scheduling.annotation.Async; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; @@ -55,9 +53,12 @@ import com.panzhihua.common.model.dtos.community.ComMngPopulationEditDTO; import com.panzhihua.common.model.dtos.community.ComMngPopulationHouseAdminDTO; import com.panzhihua.common.model.dtos.community.ComMngPopulationHouseEditAdminDTO; +import com.panzhihua.common.model.dtos.community.ComMngPopulationHouseInsertAdminDTO; +import com.panzhihua.common.model.dtos.community.ComMngPopulationHouseUserVO; 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.ComPropertyPublicityDTO; import com.panzhihua.common.model.dtos.community.ComSwDangerReportEditDTO; import com.panzhihua.common.model.dtos.community.ComSwDangerReportHandleDTO; import com.panzhihua.common.model.dtos.community.ComSwDangerReportRectifyDTO; @@ -99,6 +100,7 @@ import com.panzhihua.common.model.dtos.community.PageComMngRealCompanyDTO; import com.panzhihua.common.model.dtos.community.PageComMngVillageDTO; import com.panzhihua.common.model.dtos.community.PageComOpsHouseDTO; +import com.panzhihua.common.model.dtos.community.PageComPropertyPublicityDTO; import com.panzhihua.common.model.dtos.community.PageComStreetDTO; import com.panzhihua.common.model.dtos.community.PageElderAuthRecordsDTO; import com.panzhihua.common.model.dtos.community.PageEldersAuthDTO; @@ -119,6 +121,20 @@ 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.building.admin.AddBuildingHouseDto; +import com.panzhihua.common.model.dtos.community.building.admin.AddBuildingUnitDto; +import com.panzhihua.common.model.dtos.community.building.admin.DeleteBuildingHousePopulationDto; +import com.panzhihua.common.model.dtos.community.building.admin.EditBuildingHouseDto; +import com.panzhihua.common.model.dtos.community.building.admin.EditBuildingUnitDto; +import com.panzhihua.common.model.dtos.community.building.admin.PageBuildingListDto; +import com.panzhihua.common.model.dtos.community.building.admin.PageBuildingUnitHouseListDto; +import com.panzhihua.common.model.dtos.community.cluster.PageClusterMemberDto; +import com.panzhihua.common.model.dtos.community.cluster.admin.AddClusterAdminDto; +import com.panzhihua.common.model.dtos.community.cluster.admin.AddClusterMemberAdminDto; +import com.panzhihua.common.model.dtos.community.cluster.admin.EditClusterAdminDto; +import com.panzhihua.common.model.dtos.community.cluster.admin.EditClusterMemberAdminDto; +import com.panzhihua.common.model.dtos.community.cluster.admin.PageClusterAdminDto; +import com.panzhihua.common.model.dtos.community.cluster.admin.PageClusterMemberAdminDto; 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; @@ -153,6 +169,7 @@ import com.panzhihua.common.model.dtos.community.integral.admin.PageComActIntegralRuleDTO; import com.panzhihua.common.model.dtos.community.integral.admin.PageComActIntegralTradeDTO; import com.panzhihua.common.model.dtos.community.questnaire.StatisticsSummaryDTO; +import com.panzhihua.common.model.dtos.community.rentingHouses.*; import com.panzhihua.common.model.dtos.community.reserve.AddReserveAdminDTO; import com.panzhihua.common.model.dtos.community.reserve.CancelReserveRecordDTO; import com.panzhihua.common.model.dtos.community.reserve.ComActReserveMakeStatisticsDTO; @@ -171,6 +188,10 @@ import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletAdminDTO; import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletTradeAdminDTO; import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletTradeDTO; +import com.panzhihua.common.model.dtos.community.warehouse.ComActWarehouseApplyDTO; +import com.panzhihua.common.model.dtos.community.warehouse.ComActWarehouseDonatesDTO; +import com.panzhihua.common.model.dtos.community.warehouse.ExportDonatesDTO; +import com.panzhihua.common.model.dtos.community.warehouse.PageDonatesDTO; import com.panzhihua.common.model.dtos.elders.ComEldersAuthGetResultDTO; import com.panzhihua.common.model.dtos.elders.ComEldersAuthPageDTO; import com.panzhihua.common.model.dtos.elders.ComEldersAuthUserAddAppDTO; @@ -236,14 +257,85 @@ 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.ComActActivityTypeVO; +import com.panzhihua.common.model.vos.community.ComActActivityVO; +import com.panzhihua.common.model.vos.community.ComActAnnouncementVO; +import com.panzhihua.common.model.vos.community.ComActColumnVO; +import com.panzhihua.common.model.vos.community.ComActCommiteeVO; +import com.panzhihua.common.model.vos.community.ComActDynVO; +import com.panzhihua.common.model.vos.community.ComActEasyPhotoVO; +import com.panzhihua.common.model.vos.community.ComActFourMemberVO; +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.ComActSocialOrgVO; +import com.panzhihua.common.model.vos.community.ComActVO; +import com.panzhihua.common.model.vos.community.ComActWorkGuideClassifyVO; +import com.panzhihua.common.model.vos.community.ComActWorkGuideVO; +import com.panzhihua.common.model.vos.community.ComCvtServeExcelVO; +import com.panzhihua.common.model.vos.community.ComElderAuthRecordImportExcelVO; +import com.panzhihua.common.model.vos.community.ComElderAuthRecordVO; +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.ComMngPopulationElderExcelVO; +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.ComMngPopulationPensionExcelVO; +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.ComPensionAuthRecordImportExcelVO; +import com.panzhihua.common.model.vos.community.ComPensionAuthRecordVO; +import com.panzhihua.common.model.vos.community.ComPropertyVO; +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.QRActivityCodeVO; +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.cluster.admin.ComClusterMemberExcelVO; 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; +import com.panzhihua.common.model.vos.community.rentHouse.RentingHourseOrderVO; +import com.panzhihua.common.model.vos.community.rentHouse.RentingHoursePreOrderVO; +import com.panzhihua.common.model.vos.community.rentHouse.WxPayNotifyOrderVO; +import com.panzhihua.common.model.vos.community.rentHouse.WxPayOrderVO; +import com.panzhihua.common.model.vos.community.warehouse.ComActWarehouseApplyVO; +import com.panzhihua.common.model.vos.community.warehouse.ComActWarehouseBaseVO; +import com.panzhihua.common.model.vos.community.warehouse.QRCodeVO; +import com.panzhihua.common.model.vos.community.warehouse.WarehouseDonatesExcelVO; import com.panzhihua.common.model.vos.neighbor.AddNeighborCircleAdminVO; import com.panzhihua.common.model.vos.neighbor.ChangeCommentReplyStatusByAdminVO; import com.panzhihua.common.model.vos.neighbor.ChangeCommentStatusByAdminVO; @@ -993,10 +1085,11 @@ * * @param userId * 用户id + * @param status * @return 活动列表 */ @PostMapping("listactivity") - R listActivity(@RequestParam("userId") Long userId); + R listActivity(@RequestParam("userId") Long userId, @RequestParam(value = "status", required = false) Integer status); /** * 用户确认心愿 @@ -2424,6 +2517,12 @@ R pagePopulation(ComMngPopulationDTO comMngPopulationVO); /** + * 根据身份证查询实有人口信息 + */ + @GetMapping("/common/data/population/selectByIdCard") + R selectByIdCard(@RequestParam("idCard") String idCard); + + /** * 根据id实有人口详细信息 * * @param populationId @@ -2456,12 +2555,12 @@ /** * 批量删除实有人口 * - * @param Ids + * @param ids * 实有人口id集合 * @return 删除结果 */ @PostMapping("/common/data/population/delete") - R deletePopulations(@RequestBody List<Long> Ids); + R deletePopulations(@RequestBody List<Long> ids,@RequestParam("communityId") Long communityId); /** * 根据社区id查询所有实有人口 @@ -3762,6 +3861,15 @@ R exportElderAuthRecordsStatistic(@RequestBody PageElderAuthStatisticDTO pageElderAuthRecordsDTO); /** + * 导出高龄认证记录 exportElderAuthRecords 导出高龄认证记录 + * @param pageElderAuthRecordsDTO 查询参数 + * @return R 查询结果 + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/authRecords/export") + R exportElderAuthRecords(@RequestBody PageElderAuthRecordsDTO pageElderAuthRecordsDTO); + + /** * 分页查询养老金人员认证记录 pagePensionAuthRecords 分页查询养老金人员认证记录 * @param pageElderAuthRecordsDTO 查询参数 * @return R 查询结果 @@ -4843,6 +4951,22 @@ R getCommunityLists(); /** + * 查询西区社区列表 + * + * @return 社区列表 + */ + @GetMapping("/eventgrid/community/westList") + R getWestCommunityLists(); + + /** + * 综治app-小区列表 + * @param villageListAppDTO 请求参数 + * @return 小区列表 + */ + @PostMapping("/village/grid/list/app") + R getGridVillageListApp(@RequestBody ComMngVillageListAppDTO villageListAppDTO); + + /** * 分页查询退役军人列表 * * @param comExServicemanDTO @@ -5195,11 +5319,11 @@ R addIntegralTradeAdmin(@RequestBody AddComActIntegralUserDTO integralUserDTO); /** - * 根据社区活动id查询社区活动报名人员列表 + * 根据社区活动id查询社区活动报名且未参与人员列表 * * @param activityId * 活动id - * @return 社区活动报名人员列表 + * @return 社区活动报名且未参与人员列表 */ @PostMapping("/integral/act/activity/admin") R getTaskActivityPeopleList(@RequestParam("activityId") Long activityId); @@ -5250,7 +5374,7 @@ * @return 查询结果 */ @GetMapping("/patrolRecord/rota/getRotaPersonByDate") - R getRotaPersonByDate(@RequestParam(value = "rotaDate") String rotaDate); + R getRotaPersonByDate(@RequestParam(value = "rotaDate") String rotaDate,@RequestParam("communityId")Long communityId); /** * 根据日期查询值班领导 @@ -5258,7 +5382,7 @@ * @return 查询结果 */ @GetMapping("/patrolRecord/rota/getRotaLeaderByDate") - R getRotaLeaderByDate(@RequestParam(value = "rotaDate") String rotaDate); + R getRotaLeaderByDate(@RequestParam(value = "rotaDate") String rotaDate,@RequestParam("communityId")Long communityId); /** * 批量导入值班表 @@ -5423,6 +5547,8 @@ @PostMapping("/reserve/commit") R reserveCommit(@RequestBody ComActReserveCommitVO comActReserveCommitVO); + @PostMapping("/reserve/commitNoToken") + R reserveCommitNoToken(@RequestBody ComActReserveCommitVO comActReserveCommitVO); /** * 我的预约/登记 * @param pageUserReserveDTO @@ -5597,11 +5723,12 @@ /** * 导出登记明细数据 - * @param reserveId 登记id - * @return 登记明细数据 + * + * @param pageReserveRegisterDetailedAdminDTO + * @return 登记明细数据 */ - @GetMapping("/reserve/admin/register/list/export") - R exportRegisterAdmin(@RequestParam("reserveId") Long reserveId); + @PostMapping("/reserve/admin/register/list/export") + R exportRegisterAdmin(@RequestBody PageReserveRegisterDetailedAdminDTO pageReserveRegisterDetailedAdminDTO); /** * 查询预约登记题目列表 @@ -6640,6 +6767,103 @@ public R detailHousesUser(@RequestParam("id") Long id); /** + * 社区后台-分页查询楼栋列表 + * @param pageBuildingListDto 请求参数 + * @return 楼栋列表 + */ + @PostMapping("/building/page/admin/") + R pageBuildingAdmin(@RequestBody PageBuildingListDto pageBuildingListDto); + + /** + * 社区后台-查询楼栋列表表头统计数据 + * @param communityId 社区id + * @return 楼栋列表表头统计数据 + */ + @GetMapping("/building/header/statistics/") + R buildingListHeaderStatisticsAdmin(@RequestParam("communityId") Long communityId); + + /** + * 社区后台-查询楼栋详情 + * @param id 楼栋id + * @return 楼栋详情 + */ + @GetMapping("/building/detail/admin/") + R detailBuildAdmin(@RequestParam("id") Long id); + + /** + * 查询楼栋下单元列表 + * @param id 楼栋id + * @return 单元列表 + */ + @GetMapping("/building/unit/list/admin") + R buildingUnitListAdmin(@RequestParam("id") Long id); + + /** + * 查询楼栋单元下房屋列表 + * @param unitHouseListDto 请求参数 + * @return 单元列表 + */ + @PostMapping("/building/unit/house/list/admin") + R buildingUnitHouseListAdmin(@RequestBody PageBuildingUnitHouseListDto unitHouseListDto); + + /** + * 查询楼栋单元下房屋详情 + * @param houseId 房屋id + * @param communityId 社区id + * @return 房屋详情 + */ + @GetMapping("/building/unit/house/detail/admin") + R unitHouseDetailAdmin(@RequestParam("houseId") Long houseId,@RequestParam("communityId") Long communityId); + + /** + * 查询社区下小区列表 + * @param communityId 社区id + * @return 小区列表 + */ + @GetMapping("/building/village/list/admin") + R buildingVillageListAdmin(@RequestParam("communityId") Long communityId); + + /** + * 添加楼栋下单元 + * @param addBuildingUnitDto 请求参数 + * @return 添加结果 + */ + @PostMapping("/building/unit/add/admin") + R addBuildingUnitAdmin(@RequestBody AddBuildingUnitDto addBuildingUnitDto); + + /** + * 修改楼栋下单元 + * @param editBuildingUnitDto 请求参数 + * @return 修改结果 + */ + @PostMapping("/building/unit/edit/admin") + R editBuildingUnitAdmin(@RequestBody EditBuildingUnitDto editBuildingUnitDto); + + /** + * 添加户室 + * @param addBuildingHouseDto 请求参数 + * @return 添加结果 + */ + @PostMapping("/building/house/add/admin") + R addBuildingHouseAdmin(@RequestBody AddBuildingHouseDto addBuildingHouseDto); + + /** + * 修改户室 + * @param editBuildingHouseDto 请求参数 + * @return 修改结果 + */ + @PostMapping("/building/house/edit/admin") + R editBuildingHouseAdmin(@RequestBody EditBuildingHouseDto editBuildingHouseDto); + + /** + * 删除户室下人员关联信息 + * @param housePopulationDto 请求参数 + * @return 删除结果 + */ + @PostMapping("/building/house/population/delete/admin") + R deleteBuildingHousePopulationAdmin(@RequestBody DeleteBuildingHousePopulationDto housePopulationDto); + + /** * 分页查询所有数据 * * @param commonPage 查询实体 @@ -6707,7 +6931,7 @@ * @return */ @GetMapping("/comActWarehouseBase") - public R comActWarehouseBaseSelectOne(Long communityId); + public R comActWarehouseBaseSelectOne(@RequestParam("communityId") Long communityId); /** * 新增数据 @@ -6723,4 +6947,1039 @@ */ @PostMapping("/comActWarehouseApply/export") public R comActWarehouseApplyExport(@RequestBody CommonPage commonPage); + + /** + * 后台导入捐赠物品 + * @param list + * @return + */ + @PostMapping("/comActWarehouseDonates/import") + R batchImportWarehouseDonates(@RequestBody List<WarehouseDonatesExcelVO> list); + + /** + * 后台导出捐赠物品表格 + * @param exportDonatesDTO + * @return + */ + @PostMapping("/comActWarehouseDonates/donates/export") + R exportDonates(@RequestBody ExportDonatesDTO exportDonatesDTO); + + /** + * 分页查询捐赠物品 + * @param pageDonatesDTO + * @return + */ + @PostMapping("/comActWarehouseDonates/donates/page") + R pageDonates(@RequestBody PageDonatesDTO pageDonatesDTO); + + /** + * 新增物品捐赠 + * @param comActWarehouseDonatesDTO + * @return + */ + @PostMapping("/comActWarehouseDonates/donates/add") + R addDonates(@RequestBody ComActWarehouseDonatesDTO comActWarehouseDonatesDTO); + + /** + * 查看物品捐赠详情 + * @param donatesId + * @param isWhich + * @param userId + * @return + */ + @GetMapping("/comActWarehouseDonates/donates/get") + R getDonates(@RequestParam("donatesId") Long donatesId, @RequestParam("isWhich") Integer isWhich, @RequestParam("userId") Long userId); + + /** + * 捐赠物品后台签收 + * @param comActWarehouseDonatesDTO + * @return + */ + @PostMapping("/comActWarehouseDonates/donates/signing") + R signingDonates(@RequestBody ComActWarehouseDonatesDTO comActWarehouseDonatesDTO); + + /** + * 用户取消捐赠 + * @param donatesId + * @param currentUser + * @return + */ + @GetMapping("/comActWarehouseDonates/donates/cancel") + R cancelDonates(@RequestParam("donatesId") Long donatesId, @RequestParam("currentUser") Long currentUser); + + /** + * 捐赠物品统计查询 + * @param communityId + * @return + */ + @GetMapping("/comActWarehouseDonates/donates/statistics") + R getDonatesStatistics(@RequestParam("communityId") Long communityId); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActWarehouseOperation/queryAll") + public R comActWarehouseOperationSelectAll(@RequestBody CommonPage commonPage); + + /** + * 物品领用 + * @param comActWarehouseApplyDTO + * @return + */ + @PostMapping("/comActWarehouseDonates/donates/apply") + R applyDonates(@RequestBody ComActWarehouseApplyDTO comActWarehouseApplyDTO); + + /** + * 生成二维码 + * @param qrCodeVO + * @return + */ + @PostMapping("/comActActivityCode/getQRCode") + public R getQRCode(@RequestBody QRActivityCodeVO qrCodeVO); + + /** + * 重置二维码 + * @param qrCodeVO + * @return + */ + @PostMapping("/comActActivityCode/resetQRCode") + public R resetQRCode(@RequestBody QRActivityCodeVO qrCodeVO); + + /** + * 实有房屋数据修复定时任务 + * @return 实有房屋数据修复定时任务 + */ + @GetMapping("/population/house/status/task") + R timedTaskHouseJobHandler(); + + /** + * 导出特殊群体 + * + * @param pageInputUserDTO 请求参数 + * @return 特殊群体列表 + */ + @PostMapping("common/data/special/export") + R specialInputUserExport(@RequestBody PageInputUserDTO pageInputUserDTO); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActAnnouncement/queryAll") + R comActAnnouncementSelectAll(@RequestBody CommonPage commonPage); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActAnnouncement/{id}") + R comActAnnouncementSelectOne(@PathVariable("id") Long id); + + /** + * 新增数据 + * + * @param comActAnnouncementVO 实体对象 + * @return 新增结果 + */ + @PostMapping("/comActAnnouncement") + R comActAnnouncementInsert(@RequestBody ComActAnnouncementVO comActAnnouncementVO); + + /** + * 修改数据 + * + * @param comActAnnouncementVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActAnnouncement/update") + R comActAnnouncementUpdate(@RequestBody ComActAnnouncementVO comActAnnouncementVO); + + /** + * 删除数据 + * + * @param id 主键结合 + * @return 删除结果 + */ + @GetMapping("/comActAnnouncement/del") + R comActAnnouncementDelete(@RequestParam("id") Long id); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActColumn/queryAll") + R comActColumnSelectAll(@RequestBody CommonPage commonPage); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActColumn/{id}") + R comActColumnSelectOne(@PathVariable("id") Long id); + + /** + * 新增数据 + * + * @param comActColumn 实体对象 + * @return 新增结果 + */ + @PostMapping("/comActColumn") + R comActColumnInsert(@RequestBody ComActColumnVO comActColumn); + + /** + * 修改数据 + * + * @param comActColumn 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActColumn/update") + R comActColumnUpdate(@RequestBody ComActColumnVO comActColumn); + + /** + * 删除数据 + * + * @param id 主键结合 + * @return 删除结果 + */ + @GetMapping("/comActColumn/del") + R comActColumnDelete(@RequestParam("id") Long id); + + /** + * 高龄认证添加 + * + * @param comElderAuthRecordVO + * @return + */ + @PostMapping("/elders/authRecord/add") + R addAuthRecord(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO); + + /** + * 养老认证添加 + * + * @param comElderAuthRecordVO + * @return + */ + @PostMapping("/elders/pensionAuthRecord/add") + R addPensionAuthRecordVO(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO); + /** + * 活动报名签到情况 + * @param id 活动主键id + * @return + */ + @GetMapping("/activity/sign-in/list") + R listSignInRecord(@RequestParam("id") Long id); + + /** + * 活动签到记录 + * @param id 活动主键 + * @param userId 用户id + * @return + */ + @GetMapping("/activity/regist/list") + R listRegistRecord(@RequestParam("id") Long id, @RequestParam("userId") Long userId); + + /** + * 获取活动类型(目前只有志愿者活动需要获取) + * @param communityId + * @param type + * @return + */ + @GetMapping("/activity/type/list") + R listActivityType(@RequestParam("communityId") Long communityId, @RequestParam("type") Integer type); + + /** + * 添加活动类型 + * @param comActActivityTypeVO + * @return + */ + @PostMapping("/activity/type/add") + R addActivityType(@RequestBody ComActActivityTypeVO comActActivityTypeVO); + + /** + * 我的评价 + * @param userId + * @param activityId + * @return + */ + @GetMapping("/activity/my-evaluate") + R listMyActivityEvaluate(@RequestParam("userId") Long userId, @RequestParam("activityId") Long activityId); + + /** + * 分页查询居家隔离统计 + * @param detailedAdminDTO + * @return + */ + @PostMapping("/reserve/admin/register/homeQuarantine/page") + R pageRegisterHomeQuarantine(PageReserveRegisterDetailedAdminDTO detailedAdminDTO); + + /** + * 居家隔离导出 + * @param pageReserveRegisterDetailedAdminDTO + * @return + */ + @PostMapping("/reserve/admin/homeQuarantine/export") + R exportHomeQuarantine(@RequestBody PageReserveRegisterDetailedAdminDTO pageReserveRegisterDetailedAdminDTO); + + /** + * 分页查询物业宣传 + * @param pageComPropertyPublicityDTO + * @return + */ + @PostMapping("/property/publicity/page") + R pageComPropertyPublicity(@RequestBody PageComPropertyPublicityDTO pageComPropertyPublicityDTO); + + /** + * 新增物业宣传 + * @param comPropertyPublicityDTO + * @return + */ + @PostMapping("/property/publicity/add") + R addComPropertyPublicity(@RequestBody ComPropertyPublicityDTO comPropertyPublicityDTO); + + /** + * 修改物业宣传 + * @param comPropertyPublicityDTO + * @return + */ + @PostMapping("/property/publicity/update") + R updateComPropertyPublicity(@RequestBody ComPropertyPublicityDTO comPropertyPublicityDTO); + + /** + * 查看物业宣传信息 + * @param id + * @return + */ + @GetMapping("/property/publicity/get") + R getComPropertyPublicity(@RequestParam("id") Long id); + + /** + * 删除物业宣传 + * @param id + * @return + */ + @DeleteMapping("/property/publicity/delete") + R deleteComPropertyPublicity(@RequestParam("id") Long id); + + /** + * 物业公司列表 + * + * @param villageId + * @param communityId + * @return + */ + @GetMapping("/property/publicity/list/property") + R listProperty(@RequestParam(value = "villageId", required = false) Long villageId, @RequestParam("communityId") Long communityId); + + /** + * 分页查询物业宣传-小程序 + * @param pageComPropertyPublicityDTO + * @return + */ + @PostMapping("/property/publicity/page/applet") + R pageComPropertyPublicityApplet(@RequestBody PageComPropertyPublicityDTO pageComPropertyPublicityDTO); + + /** + * 增加物业宣传浏览量 + * @param id + * @return + */ + @GetMapping("/property/publicity/incr-view") + R incrPropertyPublicityView(@RequestParam("id") Long id); + + /** + * 获取预设图片 + * @param type + * @param subtype + * @return + */ + @GetMapping("/picture/library/get") + R getPresetPictureLibrary(@RequestParam("type") Integer type, @RequestParam("subtype") Integer subtype); + + /** + * 分页查询房屋租赁基础配置 + * @param pageRentingHousesConfigDTO + * @return + */ + @PostMapping("/rentingHousesConfig/page") + R pageRentingHousesConfig(@RequestBody PageRentingHousesConfigDTO pageRentingHousesConfigDTO); + + /** + * 更新配置信息 + * @param rentingHousesConfigDTO + * @return + */ + @PutMapping("/rentingHousesConfig/update") + R updateRentingHousesConfig(@RequestBody RentingHousesConfigDTO rentingHousesConfigDTO); + + /** + * 新增房源信息 + * @param registerDTO + * @return + */ + @PostMapping("/rentingHourseRegister/register") + R registerRentingHouse(@RequestBody RentingHouseRegisterDTO registerDTO); + + /** + * 编辑房源信息 + * @param registerDTO + * @return + */ + @PostMapping("/rentingHourseRegister/update") + R updateRentingHouse(@RequestBody RentingHouseRegisterDTO registerDTO); + + /** + * 分页获取房源信息 + * @param pageRegisterDTO + * @return + */ + @PostMapping("/rentingHourseRegister/page") + R pageRentingHouse(@RequestBody PageRentingHouseRegisterDTO pageRegisterDTO); + + /** + * 发布/取消发布 房源信 + * @param releaseOrCancelHouseDTO + * @return + */ + @PutMapping("/rentingHourseRegister/releaseOrCancel") + R releaseOrCancelHouse(@RequestBody ReleaseOrCancelHouseDTO releaseOrCancelHouseDTO); + + /** + * 删除房源信息 + * @param registerId + * @return + */ + @DeleteMapping("/rentingHourseRegister/delete") + R deleteRentingHouse(@RequestParam("registerId") Long registerId); + + /** + * 获取详情-房源信息 + * @param registerId + * @return + */ + @GetMapping("/rentingHourseRegister/get") + R getRentingHouse(@RequestParam("registerId") Long registerId); + + /** + * 附近的房源 + */ + @PostMapping("/rentingHourseRegister/nearby") + R nearby(@RequestBody NearbyDTO nearbyDTO); + + /** + * 小程序分页获取房源信息 + * @param pageRegisterDTO + * @return + */ + @PostMapping("/rentingHourseRegister/houseList") + R pageRentingHouseApplet(@RequestBody PageRentingHouseRegisterDTO pageRegisterDTO); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/rentingHourseOrder/queryAll") + R selectRentingHourseOrderAll(@RequestBody CommonPage commonPage); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/rentingHourseOrder/{id}") + R selectRentingHourseOrderOne(@PathVariable("id") Long id); + + /** + * 新增数据 + * + * @param rentingHourseOrder 实体对象 + * @return 新增结果 + */ + @PostMapping("/rentingHourseOrder") + R insertRentingHourseOrder(@RequestBody RentingHourseOrderVO rentingHourseOrder); + + /** + * 修改数据 + * + * @param rentingHourseOrdervo 实体对象 + * @return 修改结果 + */ + @PostMapping("/rentingHourseOrder/update") + R updateRentingHourseOrder(@RequestBody RentingHourseOrderVO rentingHourseOrdervo); + + /** + * 删除数据 + * + * @param id 主键结合 + * @return 删除结果 + */ + @GetMapping("/rentingHourseOrder/del") + R deleteRentingHourseOrder(@RequestParam("id") Long id); + + /** + * 支付回调处理订单状态以及房屋状态 + */ + @PostMapping("/rentingHourseOrder/wxNotify") + R wxNotifyRentingHourseOrder(@RequestBody WxPayNotifyOrderVO wxPayNotifyOrderVO); + + /** + * 支付付款 + */ + @PostMapping("/rentingHourseOrder/wxPay") + R wxPayRentingHourseOrder(@RequestBody WxPayOrderVO wxPayOrderVO); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/rentingHoursePreOrder/queryAll") + R selectAllRentingHoursePreOrder(@RequestBody CommonPage commonPage); + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/rentingHoursePreOrder/{id}") + R selectOneRentingHoursePreOrder(@PathVariable("id") Long id); + + /** + * 新增数据 + * + * @param rentingHoursePreOrderVO 实体对象 + * @return 新增结果 + */ + @PostMapping("/rentingHoursePreOrder") + R insertRentingHoursePreOrder(@RequestBody RentingHoursePreOrderVO rentingHoursePreOrderVO); + + /** + * 修改数据 + * + * @param rentingHoursePreOrderVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/rentingHoursePreOrder/update") + R updateRentingHoursePreOrder(@RequestBody RentingHoursePreOrderVO rentingHoursePreOrderVO); + + /** + * 删除数据 + * + * @param id 主键结合 + * @return 删除结果 + */ + @GetMapping("/rentingHoursePreOrder/del") + R deleteRentingHoursePreOrder(@RequestParam("id") Long id); + + /** + * 普通订单统计 + */ + @PostMapping("/rentingHourseOrder/statics") + R staticsRentingHourseOrder(@RequestBody RentingHourseOrderVO rentingHourseOrderVO); + + /** + * 定金订单统计 + */ + @PostMapping("/rentingHoursePreOrder/statics") + R staticsRentingHoursePreOrder(@RequestBody RentingHoursePreOrderVO rentingHoursePreOrderVO); + + /** + * 获取房屋租赁配置 + * @return + * @param type + */ + @GetMapping("/rentingHousesConfig/getConfig") + R getRentingHouseConfig(@RequestParam("type") Integer type); + + @GetMapping("/rentingHourseRegister/updateAllHouseUnionAppCode") + @Async + void updateAllHouseUnionAppCode(); + + /** + * 西区大屏治理数据 + */ + @GetMapping("/screen/getWestScreenStatics") + R westScreenStatics(); + + /** + * 西区大屏一标三实数据 + * @return 西区大屏一标三实数据 + */ + @GetMapping("/screen/getComprehensivePopulationStatics") + R getComprehensivePopulationStatics(@RequestParam("streetId") Long streetId); + + @GetMapping("/screen/getComprehensiveStreetList") + R getComprehensiveStreetList(); + + /** + * 通过社区id查询社区账号密码 + * @param communityId 社区id + * @return 查询社区账号密码 + */ + @GetMapping("/screen/getCommunityPassword") + R getCommunityPassword(@RequestParam("communityId") Long communityId); + + @GetMapping("/reserve/bigScreenStaticsReserve") + R bigScreenStaticsReserve(@RequestParam("communityId") Long communityId); + + /** + * 党员活动折线图 + * @param communityId + * @return + */ + @GetMapping("/bigscreen/party/partyActivityLine") + R partyActivityLine(@RequestParam("communityId")Long communityId); + + /** + * 党员积分前3 + * @param communityId + * @return + */ + @GetMapping("/bigscreen/party/partyActivityTop") + R partyActivityTop(@RequestParam("communityId")Long communityId); + + /** + * 社区服务大屏数据分析接口 + */ + @GetMapping("/screen/serviceData") + R serviceData(@RequestParam("communityId")Long communityId); + + /** + * 服务居民接口 + */ + @GetMapping("/screen/serviceUser") + R serviceUser(@RequestParam("communityId") Long communityId); + + /** + * 大数据分析平台-居民自治 + * @param communityId + * @return + */ + @GetMapping("/screen/resident/autonomy") + R getResidentAutonomy(@RequestParam("communityId") Long communityId); + + /** + * 大数据分析平台-清网治格 + * @param communityId + * @return + */ + @GetMapping("/screen/grids/governance") + R getGridsGovernance(@RequestParam("communityId") Long communityId); + + /** + * 大数据分析平台-社区服务 + * @param communityId + * @return + */ + @GetMapping("/screen/community/service") + R getCommunityServiceStatistics(@RequestParam("communityId") Long communityId); + + /** + * 分页获取热度排行商家 + * @param pagePopularMerchantDTO + * @return + */ + @PostMapping("/screen/merchant/popular") + R getScreenPopularMerchants(@RequestBody PagePopularMerchantDTO pagePopularMerchantDTO); + + /** + * 新版大屏首页接口 + */ + @GetMapping("/screen/indexInfo") + R indexInfo(@RequestParam("communityId") Long communityId); + + /** + * 首页二级页面-微心愿 + * @param communityId + * @return + */ + @GetMapping("/screen/index/microWish") + R indexMicroWish(@RequestParam("communityId") Long communityId); + + /** + * 首页二级页面-随手拍 + * @param communityId + * @return + */ + @GetMapping("/screen/index/easyPhoto") + R indexEasyPhoto(@RequestParam("communityId") Long communityId); + + /** + * 首页二级页面-随手拍展示列表 + * @return + */ + @PostMapping("/screen/index/easyPhotoList") + R indexEasyPhotoList(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 首页二级页面-社区问卷 + * @param communityId + * @return + */ + @GetMapping("/screen/index/questionnaire") + R indexQuestionnaire(@RequestParam("communityId") Long communityId); + + /** + * 首页二级页面-社区动态 + * @param communityId + * @return + */ + @GetMapping("/screen/index/dyn") + R indexDyn(@RequestParam("communityId") Long communityId); + + /** + * 首页二级页面-社区动态展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/index/dynList") + R indexDynList(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 首页二级页面-邻里圈 + * @param communityId + * @return + */ + @GetMapping("/screen/index/neighbor") + R indexNeighbor(@RequestParam("communityId") Long communityId); + + /** + * 首页二级页面-邻里圈展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/index/neighborList") + R indexNeighborList(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 首页二级页面-便民商家 + * @param communityId + * @return + */ + @GetMapping("/screen/index/merchant") + R indexMerchant(@RequestParam("communityId") Long communityId); + + /** + * 首页二级页面-商家展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/index/merchantList") + R indexMerchantList(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 首页二级页面-微心愿展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/index/microWishList") + R indexMicroWishList(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 首页二级页面-社区问卷展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/index/questionnaireList") + R indexQuestionnaireList(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 首页二级页面-居民活动 + * @param communityId + * @return + */ + @GetMapping("/screen/index/residentAct") + R indexResidentAct(@RequestParam("communityId") Long communityId); + + /** + * 首页二级页面-居民活动展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/index/residentActList") + R indexResidentActList(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 首页二级页面-志愿者活动 + * @param communityId + * @return + */ + @GetMapping("/screen/index/volunteerAct") + R indexVolunteerAct(@RequestParam("communityId") Long communityId); + + /** + * 首页二级页面-志愿者活动展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/index/volunteerActList") + R indexVolunteerActList(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 新增数字商业街商家 + * @param mcsMerchantDTO + * @return + */ + @PostMapping("/microcommercialstreet/merchant/add") + R addMcsMerchant(@RequestBody McsMerchantDTO mcsMerchantDTO); + + /** + * 编辑数字商业街商家 + * @param mcsMerchantDTO + * @return + */ + @PutMapping("/microcommercialstreet/merchant/put") + R putMcsMerchant(@RequestBody McsMerchantDTO mcsMerchantDTO); + + /** + * 查询数字商业街商家详情 + * @param merchantId + * @return + */ + @GetMapping("/microcommercialstreet/merchant/get") + R getMcsMerchant(@RequestParam("merchantId") Long merchantId); + + /** + * 删除数字商业街商家 + * @param merchantId + * @param userId + * @return + */ + @DeleteMapping("/microcommercialstreet/merchant/delete") + R deleteMcsMerchant(@RequestParam("merchantId") Long merchantId, @RequestParam("userId") Long userId); + + /** + * 分页查询数字商业街商家 + * @param pageMcsMerchantDTO + * @return + */ + @PostMapping("/microcommercialstreet/merchant/page") + R pageMcsMerchant(@RequestBody PageMcsMerchantDTO pageMcsMerchantDTO); + + /** + * 禁用/启用数字商业街商家 + * @param disableOrEnableMcsMerchantDTO + * @return + */ + @PutMapping("/microcommercialstreet/merchant/disable-or-enable") + R disableOrEnableMcsMerchant(@RequestBody DisableOrEnableMcsMerchantDTO disableOrEnableMcsMerchantDTO); + + /** + * 获取所有数字商业街配置 + * @return + */ + @GetMapping("/microcommercialstreet/config/all") + R getAllMcsConfig(); + + /** + * 修改数字商业街配置 + * @param configs + * @return + */ + @PutMapping("/microcommercialstreet/config/put") + R putMcsConfig(@RequestBody List<McsConfigVO> configs); + + /** + * 分页查询戳戳游戏 + * @param pageMcsGameDTO + * @return + */ + @PostMapping("/microcommercialstreet/game/page") + R pageMcsGame(@RequestBody PageMcsGameDTO pageMcsGameDTO); + + /** + * 设为/取消游戏热门 + * @param setPopularForGameDTO + * @return + */ + @PutMapping("/microcommercialstreet/game/setPopular") + R setPopularForGame(@RequestBody SetPopularForGameDTO setPopularForGameDTO); + + /** + * 上架/下架戳戳游戏 + * @param setShelfForGameDTO + * @return + */ + @PutMapping("/microcommercialstreet/game/setShelf") + R setShelfForGame(@RequestBody SetShelfForGameDTO setShelfForGameDTO); + + /** + * 删除戳戳游戏 + * @param gameId + * @param userId + * @return + */ + @DeleteMapping("/microcommercialstreet/game/delete") + R deleteMcsGame(@RequestParam("gameId") Long gameId, @RequestParam("userId") Long userId); + + /** + * 分页查询戳戳资讯 + * @param pageMcsInformationDTO + * @return + */ + @PostMapping("/microcommercialstreet/information/page") + R pageMcsInfo(@RequestBody PageMcsInformationDTO pageMcsInformationDTO); + + /** + * 上架/下架戳戳资讯 + * @param setShelfForInfoDTO + * @return + */ + @PutMapping("/microcommercialstreet/information/setShelf") + R setShelfForMcsInfo(@RequestBody SetShelfForInfoDTO setShelfForInfoDTO); + + /** + * 删除戳戳资讯 + * @param infoId + * @param userId + * @return + */ + @DeleteMapping("/microcommercialstreet/information/delete") + R deleteMcsInfo(@RequestParam("infoId") Long infoId, @RequestParam("userId") Long userId); + + /** + * 分页查询评价记录 + * @param pageMcsEvaluateDTO + * @return + */ + @PostMapping("/microcommercialstreet/evaluate/page") + R pageMcsEvaluate(@RequestBody PageMcsEvaluateDTO pageMcsEvaluateDTO); + + /** + * 查询评价记录详情 + * @param evaluateId + * @return + */ + @GetMapping("/microcommercialstreet/evaluate/get") + R getMcsEvaluate(@RequestParam("evaluateId") Long evaluateId); + + /** + * 删除评价记录 + * @param evaluateId + * @return + */ + @DeleteMapping("/microcommercialstreet/evaluate/delete") + R deleteMcsEvaluate(@RequestParam("evaluateId") Long evaluateId); + + /** + * 新增戳戳游戏 + * @param mcsGameDTO + * @return + */ + @PostMapping("/microcommercialstreet/game/add") + R addMcsGame(@RequestBody McsGameDTO mcsGameDTO); + + /** + * 编辑戳戳游戏 + * @param mcsGameDTO + * @return + */ + @PutMapping("/microcommercialstreet/game/put") + R putMcsGame(@RequestBody McsGameDTO mcsGameDTO); + + /** + * 发布戳戳游戏 + * @param gameId + * @param userId + * @return + */ + @GetMapping("/microcommercialstreet/game/publish") + R publishMcsGame(@RequestParam("gameId") Long gameId, @RequestParam("userId") Long userId); + + /** + * 结束戳戳游戏 + * @param gameId + * @param userId + * @return + */ + @GetMapping("/microcommercialstreet/game/finish") + R finishMcsGame(@RequestParam("gameId") Long gameId, @RequestParam("userId") Long userId); + + /** + * 戳戳游戏/资讯顶部统计数据 + * @param type + * @param userId + * @return + */ + @GetMapping("/microcommercialstreet/statistics/top") + R getTopStatistics(@RequestParam("type") Integer type, @RequestParam("userId") Long userId); + + /** + * 新增戳戳资讯 + * @param mcsInfoDTO + * @return + */ + @PostMapping("/microcommercialstreet/information/add") + R addMcsInfo(@RequestBody McsInfoDTO mcsInfoDTO); + + /** + * 编辑戳戳资讯 + * @param mcsInfoDTO + * @return + */ + @PutMapping("/microcommercialstreet/information/put") + R putMcsInfo(@RequestBody McsInfoDTO mcsInfoDTO); + + /** + * 发布戳戳资讯 + * @param infoId + * @param userId + * @return + */ + @GetMapping("/microcommercialstreet/information/publish") + R publishMcsInfo(@RequestParam("infoId") Long infoId, @RequestParam("userId") Long userId); + + /** + * 新增产品信息 + * @param mcsProductDTO + * @return + */ + @PostMapping("/microcommercialstreet/product/add") + R addMcsProduct(@RequestBody McsProductDTO mcsProductDTO); + + /** + * 编辑产品信息 + * @param mcsProductDTO + * @return + */ + @PutMapping("/microcommercialstreet/product/put") + R putMcsProduct(@RequestBody McsProductDTO mcsProductDTO); + + /** + * 删除产品信息 + * @param productId + * @param userId + * @return + */ + @DeleteMapping("/microcommercialstreet/product/delete") + R deleteMcsProduct(@RequestParam("productId") Long productId, @RequestParam("userId") Long userId); + + /** + * 上架/下架产品信息 + * @param setShelfForProductDTO + * @return + */ + @PutMapping("/microcommercialstreet/product/setShelf") + R setShelfForMcsProduct(@RequestBody SetShelfForProductDTO setShelfForProductDTO); + + /** + * 分页查询产品信息 + * @param pageMcsProductDTO + * @return + */ + @PostMapping("/microcommercialstreet/product/page") + R pageMcsProduct(@RequestBody PageMcsProductDTO pageMcsProductDTO); } -- Gitblit v1.7.1