From bbda2ee1af4e86d76f93e00386d77efb56c60d5f Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期六, 23 七月 2022 15:42:06 +0800 Subject: [PATCH] bug修改 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 8712 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 8,383 insertions(+), 329 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 2f5d2c0..cc064b0 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 @@ -1,30 +1,460 @@ package com.panzhihua.common.service.community; +import java.util.List; + +import com.panzhihua.common.model.dtos.PageBaseDTO; +import com.panzhihua.common.model.dtos.civil.*; +import com.panzhihua.common.model.dtos.common.*; +import com.panzhihua.common.model.dtos.community.acid.*; +import com.panzhihua.common.model.dtos.community.dpc.AddDpcDTO; +import com.panzhihua.common.model.dtos.community.dpc.EditDpcDTO; +import com.panzhihua.common.model.dtos.community.dpc.PageDpcDTO; +import com.panzhihua.common.model.dtos.community.enterprise.*; +import com.panzhihua.common.model.dtos.community.reserve.*; +import com.panzhihua.common.model.dtos.community.warehouse.ComActWarehouseApplyDTO; +import com.panzhihua.common.model.dtos.community.GetIdentityEidTokenDTO; +import com.panzhihua.common.model.dtos.community.*; +import com.panzhihua.common.model.dtos.community.building.admin.*; +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.dtos.property.PagePropertyWorkerDTO; +import com.panzhihua.common.model.dtos.property.PropertyWorkerDTO; +import com.panzhihua.common.model.vos.*; +import com.panzhihua.common.model.vos.civil.ComActSocialWorkerDetailsVO; +import com.panzhihua.common.model.vos.civil.ComActSocialWorkerVO; +import com.panzhihua.common.model.vos.community.*; +import com.panzhihua.common.model.vos.community.acid.ComActAcidCheckRecordVO; +import com.panzhihua.common.model.vos.community.acid.ComActAcidMemberVO; +import com.panzhihua.common.model.vos.community.acid.ComActAcidRecordVO; +import com.panzhihua.common.model.vos.community.cluster.admin.ComClusterMemberExcelVO; +import com.panzhihua.common.model.vos.community.easyPhoto.ComActEasyPhotoMemberVO; +import com.panzhihua.common.model.vos.community.raffle.ComActRaffleRecordVO; +import com.panzhihua.common.model.vos.community.raffle.ComActRaffleVO; +import com.panzhihua.common.model.vos.community.reserve.ComActReserveDangerAreaVO; +import com.panzhihua.common.model.vos.community.social.*; +import io.swagger.annotations.ApiImplicitParam; +import io.swagger.annotations.ApiImplicitParams; +import io.swagger.annotations.ApiOperation; +import com.panzhihua.common.model.vos.community.*; +import org.springframework.beans.BeanUtils; +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; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestParam; + import com.panzhihua.common.model.dtos.AppletesBackstageConfigDTO; +import com.panzhihua.common.model.dtos.PageBaseDTO; import com.panzhihua.common.model.dtos.PageDTO; import com.panzhihua.common.model.dtos.advertisement.ComOpsAdvDTO; import com.panzhihua.common.model.dtos.advertisement.PageComOpsAdvDTO; -import com.panzhihua.common.model.dtos.community.*; -import com.panzhihua.common.model.dtos.shop.PageComShopOrderSearchDTO; -import com.panzhihua.common.model.dtos.shop.*; +import com.panzhihua.common.model.dtos.civil.ComActSocialWorkerAddDTO; +import com.panzhihua.common.model.dtos.civil.ComActSocialWorkerDeleteDTO; +import com.panzhihua.common.model.dtos.civil.ComActSocialWorkerEditDTO; +import com.panzhihua.common.model.dtos.civil.ComActSocialWorkerExcelVO; +import com.panzhihua.common.model.dtos.civil.PageComActSocialWorkerDTO; +import com.panzhihua.common.model.dtos.common.AddComMngVolunteerOrgTeamDto; +import com.panzhihua.common.model.dtos.common.AddComMngVolunteerServiceTypeDto; +import com.panzhihua.common.model.dtos.common.AddComMngVolunteerSkillDto; +import com.panzhihua.common.model.dtos.common.EditComActEasyPhotoHandlerDto; +import com.panzhihua.common.model.dtos.common.EditComMngVolunteerOrgTeamDto; +import com.panzhihua.common.model.dtos.common.EditComMngVolunteerServiceTypeDto; +import com.panzhihua.common.model.dtos.common.EditComMngVolunteerSkillDto; +import com.panzhihua.common.model.dtos.common.PageComActEasyPhotoHandlerDto; +import com.panzhihua.common.model.dtos.common.PageComMngVolunteerOrgTeamDto; +import com.panzhihua.common.model.dtos.common.PageComMngVolunteerServiceTypeDto; +import com.panzhihua.common.model.dtos.common.PageComMngVolunteerSkillDto; +import com.panzhihua.common.model.dtos.community.AddComActDynTypeDTO; +import com.panzhihua.common.model.dtos.community.AddIdentityAuthDTO; +import com.panzhihua.common.model.dtos.community.CancelRecordDTO; +import com.panzhihua.common.model.dtos.community.CascadeHouseDTO; +import com.panzhihua.common.model.dtos.community.ComActDiscussCommentDTO; +import com.panzhihua.common.model.dtos.community.ComActDiscussCommentUserDTO; +import com.panzhihua.common.model.dtos.community.ComActDiscussDTO; +import com.panzhihua.common.model.dtos.community.ComActDiscussOptionUserDTO; +import com.panzhihua.common.model.dtos.community.ComActDiscussUserDTO; +import com.panzhihua.common.model.dtos.community.ComActEasyPhotoCommentDTO; +import com.panzhihua.common.model.dtos.community.ComActEasyPhotoCommentUserDTO; +import com.panzhihua.common.model.dtos.community.ComCvtBusinessDTO; +import com.panzhihua.common.model.dtos.community.ComCvtCategoryDTO; +import com.panzhihua.common.model.dtos.community.ComCvtServeDTO; +import com.panzhihua.common.model.dtos.community.ComExServicemanDTO; +import com.panzhihua.common.model.dtos.community.ComMngCarAppletDTO; +import com.panzhihua.common.model.dtos.community.ComMngCarSaveDTO; +import com.panzhihua.common.model.dtos.community.ComMngPopulationDTO; +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; +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; +import com.panzhihua.common.model.dtos.community.EldersAuthAddDTO; +import com.panzhihua.common.model.dtos.community.EldersAuthDeleteDTO; +import com.panzhihua.common.model.dtos.community.EldersAuthEditDTO; +import com.panzhihua.common.model.dtos.community.EldersAuthElderlyDTO; +import com.panzhihua.common.model.dtos.community.EldersAuthFeedbackAddDTO; +import com.panzhihua.common.model.dtos.community.EldersAuthTypeQueryDTO; +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; +import com.panzhihua.common.model.dtos.community.PageActWorkGuideDTO; +import com.panzhihua.common.model.dtos.community.PageComActDTO; +import com.panzhihua.common.model.dtos.community.PageComActDiscussCommentDTO; +import com.panzhihua.common.model.dtos.community.PageComActDiscussDTO; +import com.panzhihua.common.model.dtos.community.PageComActDynTypeDTO; +import com.panzhihua.common.model.dtos.community.PageComActEasyPhotoCommentDTO; +import com.panzhihua.common.model.dtos.community.PageComCvtBusinessAppletsDTO; +import com.panzhihua.common.model.dtos.community.PageComCvtBusinessDTO; +import com.panzhihua.common.model.dtos.community.PageComCvtCategoryDTO; +import com.panzhihua.common.model.dtos.community.PageComCvtServeDTO; +import com.panzhihua.common.model.dtos.community.PageComEldersRecordsDTO; +import com.panzhihua.common.model.dtos.community.PageComMngCarDTO; +import com.panzhihua.common.model.dtos.community.PageComMngRealAssetsDTO; +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; +import com.panzhihua.common.model.dtos.community.PageEldersAuthElderlyDTO; +import com.panzhihua.common.model.dtos.community.PageEldersAuthHistoryDTO; +import com.panzhihua.common.model.dtos.community.PageEldersAuthRecordDTO; +import com.panzhihua.common.model.dtos.community.PageIdentityAuthRecordDTO; +import com.panzhihua.common.model.dtos.community.PageQuestnaireAnswerDTO; +import com.panzhihua.common.model.dtos.community.PageQuestnaireDTO; +import com.panzhihua.common.model.dtos.community.PageQuestnaireSubDetailsDTO; +import com.panzhihua.common.model.dtos.community.PageUserReserveDTO; +import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenEventDTO; +import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenEventDetailDTO; +import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenStatisticAgeGenderDTO; +import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenStatisticPartyActivityDTO; +import com.panzhihua.common.model.dtos.community.bigscreen.PageBigScreenStatisticPartyOrg; +import com.panzhihua.common.model.dtos.community.bigscreen.work.ScreenActActivityListDTO; +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; +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.fms.AddFmsClassroomAdminDTO; +import com.panzhihua.common.model.dtos.community.fms.AddFmsServiceAdminDTO; +import com.panzhihua.common.model.dtos.community.fms.AddTeamDTO; +import com.panzhihua.common.model.dtos.community.fms.AddTeamMemberDTO; +import com.panzhihua.common.model.dtos.community.fms.AddTeamTypeDTO; +import com.panzhihua.common.model.dtos.community.fms.ApplyFmsServiceDTO; +import com.panzhihua.common.model.dtos.community.fms.ApprovalFmsServiceAdminDTO; +import com.panzhihua.common.model.dtos.community.fms.DeleteTeamMemberDTO; +import com.panzhihua.common.model.dtos.community.fms.EditFmsClassroomAdminDTO; +import com.panzhihua.common.model.dtos.community.fms.EditTeamDTO; +import com.panzhihua.common.model.dtos.community.fms.EditTeamMemberDTO; +import com.panzhihua.common.model.dtos.community.fms.EditTeamTypeDTO; +import com.panzhihua.common.model.dtos.community.fms.EvaluationFmsServiceDTO; +import com.panzhihua.common.model.dtos.community.fms.FeedbackFmsServiceDTO; +import com.panzhihua.common.model.dtos.community.fms.PageFmsClassroomAdminDTO; +import com.panzhihua.common.model.dtos.community.fms.PageFmsEventAdminDTO; +import com.panzhihua.common.model.dtos.community.fms.PageFmsServiceAdminDTO; +import com.panzhihua.common.model.dtos.community.fms.PageFmsServiceAppletsDTO; +import com.panzhihua.common.model.dtos.community.fms.PageFmsTeamDTO; +import com.panzhihua.common.model.dtos.community.fms.PageTeamMemberDTO; +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; +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.microCommercialStreet.DeleteProductDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.DisableOrEnableMcsMerchantDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.LoginWithPhoneDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsEvaluateDTO; +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.PageJoinGameListDTO; +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.PageVerifyRecordDTO; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.PutUserInfoDTO; +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.dtos.community.questnaire.StatisticsSummaryDTO; +import com.panzhihua.common.model.dtos.community.rentingHouses.NearbyDTO; +import com.panzhihua.common.model.dtos.community.rentingHouses.PageRentingHouseRegisterDTO; +import com.panzhihua.common.model.dtos.community.rentingHouses.PageRentingHousesConfigDTO; +import com.panzhihua.common.model.dtos.community.rentingHouses.ReleaseOrCancelHouseDTO; +import com.panzhihua.common.model.dtos.community.rentingHouses.RentingHouseRegisterDTO; +import com.panzhihua.common.model.dtos.community.rentingHouses.RentingHousesConfigDTO; +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; +import com.panzhihua.common.model.dtos.community.reserve.ComActReserveRegisterStatisticsDTO; +import com.panzhihua.common.model.dtos.community.reserve.EditComActReserveInfoDTO; +import com.panzhihua.common.model.dtos.community.reserve.EditComActReserveStatusDTO; +import com.panzhihua.common.model.dtos.community.reserve.EditReserveAdminDTO; +import com.panzhihua.common.model.dtos.community.reserve.MakeHandleAdminDTO; +import com.panzhihua.common.model.dtos.community.reserve.PageReserveAdminDTO; +import com.panzhihua.common.model.dtos.community.reserve.PageReserveMakeAdminDTO; +import com.panzhihua.common.model.dtos.community.reserve.PageReserveMakeHandleAdminDTO; +import com.panzhihua.common.model.dtos.community.reserve.PageReserveRegisterDetailedAdminDTO; +import com.panzhihua.common.model.dtos.community.social.HatchAuditProcessDTO; +import com.panzhihua.common.model.dtos.community.social.PageProjectDTO; +import com.panzhihua.common.model.dtos.community.social.PageProjectSignListDTO; +import com.panzhihua.common.model.dtos.community.social.PageSocialOrgHatchAuditDTO; +import com.panzhihua.common.model.dtos.community.social.PageSocialOrgHatchDTO; +import com.panzhihua.common.model.dtos.community.social.SocialOrgHatchAuditDTO; +import com.panzhihua.common.model.dtos.community.switchs.SearchCommunityDTO; +import com.panzhihua.common.model.dtos.community.wallet.ComActWalletDetailDTO; +import com.panzhihua.common.model.dtos.community.wallet.ComActWalletSettlementAdminDTO; +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; +import com.panzhihua.common.model.dtos.grid.AddComMngHousePopulationDTO; +import com.panzhihua.common.model.dtos.grid.ComMngVillageListAppDTO; +import com.panzhihua.common.model.dtos.grid.DelComMngHousePopulationDTO; +import com.panzhihua.common.model.dtos.grid.PageComMngPopulationDTO; +import com.panzhihua.common.model.dtos.grid.PageComMngVillageBuildHouseAppDTO; +import com.panzhihua.common.model.dtos.grid.PagePopulationListDTO; +import com.panzhihua.common.model.dtos.grid.admin.ComMngPopulationExportDTO; +import com.panzhihua.common.model.dtos.grid.admin.ComMngPopulationListDTO; +import com.panzhihua.common.model.dtos.grid.admin.ComMngPopulationRelationHouseDTO; +import com.panzhihua.common.model.dtos.grid.admin.ComMngPopulationSubordinateDTO; +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; +import com.panzhihua.common.model.dtos.shop.ComShopFundsExportDTO; +import com.panzhihua.common.model.dtos.shop.ComShopGoodsDTO; +import com.panzhihua.common.model.dtos.shop.ComShopOrderCreateDTO; +import com.panzhihua.common.model.dtos.shop.ComShopOrderDeliverDTO; +import com.panzhihua.common.model.dtos.shop.ComShopOrderExportDTO; +import com.panzhihua.common.model.dtos.shop.ComShopOrderPreviewDTO; +import com.panzhihua.common.model.dtos.shop.ComShopOrderQueryDTO; +import com.panzhihua.common.model.dtos.shop.ComShopOrderShipDTO; +import com.panzhihua.common.model.dtos.shop.ComShopSysConfDTO; +import com.panzhihua.common.model.dtos.shop.OrderPayDTO; +import com.panzhihua.common.model.dtos.shop.PageComOrderListDTO; +import com.panzhihua.common.model.dtos.shop.PageComShopAddressDTO; +import com.panzhihua.common.model.dtos.shop.PageComShopFundsSearchDTO; import com.panzhihua.common.model.dtos.shop.PageComShopGoodsDTO; +import com.panzhihua.common.model.dtos.shop.PageComShopOrderSearchDTO; import com.panzhihua.common.model.dtos.shop.PageComShopStoreDTO; +import com.panzhihua.common.model.dtos.shop.PageComShopSysConfDTO; +import com.panzhihua.common.model.dtos.shop.WxPayNotifyOrderDTO; import com.panzhihua.common.model.dtos.user.PageInputUserDTO; +import com.panzhihua.common.model.dtos.vaccines.VaccinesByAdminDTO; +import com.panzhihua.common.model.dtos.vaccines.VaccinesEnrollByAdminDTO; +import com.panzhihua.common.model.dtos.vaccines.VaccinesEnrollByAppDTO; +import com.panzhihua.common.model.dtos.vaccines.VaccinesEnrollUserByAppDTO; +import com.panzhihua.common.model.dtos.vaccines.VaccinesInoculationByAdminDTO; +import com.panzhihua.common.model.vos.BcDictionaryItemVO; +import com.panzhihua.common.model.vos.BcDictionaryVO; +import com.panzhihua.common.model.vos.ComActSocialMemberVO; +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.*; +import com.panzhihua.common.model.vos.civil.ComActSocialWorkerVO; +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.fms.ComFmsServiceImportExcelVO; +import com.panzhihua.common.model.vos.community.fms.ComFmsTeamMemberImportExcelVO; +import com.panzhihua.common.model.vos.community.microCommercialStreet.McsConfigVO; +import com.panzhihua.common.model.vos.community.microCommercialStreet.McsOrderVO; 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.shop.ShopOperLogVO; +import com.panzhihua.common.model.vos.community.raffle.ComActRaffleRecordVO; +import com.panzhihua.common.model.vos.community.raffle.ComActRaffleVO; +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.reserve.ComActReserveDetailAdminVO; +import com.panzhihua.common.model.vos.community.social.ComActSocialProjectMemberVO; +import com.panzhihua.common.model.vos.community.social.ComActSocialProjectPublicityVO; +import com.panzhihua.common.model.vos.community.social.ComActSocialProjectScheduleVO; +import com.panzhihua.common.model.vos.community.social.ComActSocialWorkerServiceVO; +import com.panzhihua.common.model.vos.community.social.SocialProjectVO; +import com.panzhihua.common.model.vos.community.volunteer.ComMngVolunteerExcelVO; +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; +import com.panzhihua.common.model.vos.neighbor.EditNeighborCircleAdminVO; import com.panzhihua.common.model.vos.shop.AddShopGoodsVO; +import com.panzhihua.common.model.vos.shop.ShopOperLogVO; import com.panzhihua.common.model.vos.shop.ShopStoreVO; +import com.panzhihua.common.model.vos.user.UserElectronicFileVO; import com.panzhihua.common.model.vos.user.UserPhoneVO; -import org.springframework.cloud.openfeign.FeignClient; -import org.springframework.transaction.annotation.Transactional; -import org.springframework.web.bind.annotation.*; - -import java.util.List; /** * @program: springcloud_k8s_panzhihuazhihuishequ @@ -32,12 +462,13 @@ * @author: huang.hongfa weixin hhf9596 qq 959656820 * @create: 2020-12-07 15:59 **/ -@FeignClient(name = "community") +@FeignClient(name = "huacheng-community") public interface CommunityService { /** * 新增社区活动 * - * @param comActActivityVO 新增信息 + * @param comActActivityVO + * 新增信息 * @return 新增结果 */ @PostMapping("/addactivity") @@ -46,7 +477,8 @@ /** * 编辑社区活动 * - * @param comActActivityVO 编辑内容 + * @param comActActivityVO + * 编辑内容 * @return 编辑结果 */ @PostMapping("/putactivity") @@ -55,7 +487,8 @@ /** * 删除社区活动 * - * @param comActActivityVO 活动主键 + * @param comActActivityVO + * 活动主键 * @return 删除结果 */ @PostMapping("deleteactivity") @@ -64,7 +497,8 @@ /** * 分页查询社区活动 * - * @param comActActivityVO 查询参数 + * @param comActActivityVO + * 查询参数 * @return 分页集合 */ @PostMapping("pageactivity") @@ -73,7 +507,8 @@ /** * 发布活动 * - * @param comActActivityVO 主键id 发布时间 + * @param comActActivityVO + * 主键id 发布时间 * @return 发布结果 */ @PostMapping("releaseactivity") @@ -82,7 +517,8 @@ /** * 取消活动 * - * @param comActActivityVO 取消原因 + * @param comActActivityVO + * 取消原因 * @return 取消结果 */ @PostMapping("cancelactivity") @@ -91,26 +527,129 @@ /** * 活动详情 * - * @param id 活动id - * @param userId 当前登录者id + * @param id + * 活动id + * @param userId + * 当前登录者id * @return 详情 */ @PostMapping("detailactivity") - R detailActivity(@RequestParam("id") Long id, @RequestParam("userId") Long userId); + R detailActivity(@RequestParam("id") Long id, @RequestParam(value = "userId", required = false) Long userId,@RequestParam(value = "pageNum", required = false) Long pageNum,@RequestParam(value = "pageSize", required = false) Long pageSize); /** - * 活动报名名单 + * 分页活动报名名单 * - * @param activitySignVO 查询参数 + * @param activitySignVO + * 查询参数 * @return 报名人员集合 */ @PostMapping("listactivitysign") R listActivitySign(@RequestBody ActivitySignVO activitySignVO); /** + * description getSignLists 查询活动报名名单 + * @param activitySignVO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/8/24 14:03 + */ + @PostMapping("/activity/sign/getList") + R getSignLists(@RequestBody ActivitySignVO activitySignVO); + + /** + * description listActivityRegists 分页查询活动评价 + * @param comActActEvaluateVO 活动评价vo + * @return R 分页查询结果 + * @author txb + * @date 2021/8/24 14:03 + */ + @PostMapping("/activity/evaluate/page") + R pageActivityEvaluates(@RequestBody ComActActEvaluateVO comActActEvaluateVO); + + /** + * description getEvaluateLists 查询活动评价 + * @param comActActEvaluateVO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/8/24 14:03 + */ + @PostMapping("/activity/evaluate/getList") + R getEvaluateLists(@RequestBody ComActActEvaluateVO comActActEvaluateVO); + + /** + * description pageActivityRegists 分页查询活动签到 + * @param comActActRegistVO 活动签到vo + * @return R 分页查询结果 + * @author txb + * @date 2021/8/24 14:03 + */ + @PostMapping("/activity/regist/page") + R pageActivityRegists(@RequestBody ComActActRegistVO comActActRegistVO); + + /** + * description getRegistLists 查询活动签到 + * @param comActActRegistVO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/8/25 9:33 + */ + @PostMapping("/activity/regist/getList") + R getRegistLists(@RequestBody ComActActRegistVO comActActRegistVO); + + /** + * description getRegistLists 查询活动未签到 + * @param comActActRegistVO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/8/25 9:33 + */ + @PostMapping("/activity/noRegist/getList") + R getNoRegistLists(@RequestBody ComActActRegistVO comActActRegistVO); + + /** + * description activityStagistics 活动数据统计 + * @param activityId 活动id + * @return R 统计结果 + * @author txb + * @date 2021/8/25 13:33 + */ + @GetMapping("/activity/statistics") + R activityStatistics(@RequestParam("activityId") Long activityId); + + /** + * 获取活动历史封面 getPictureList + * @param userId 用户id + * @return R 统计结果 + * @author txb + * @date 2021/8/27 13:33 + */ + @GetMapping("/activity/picture/getList") + R getPictureList(@RequestParam("userId") Long userId); + + /** + * 获取系统预置图库 getSysPictureList + * @return R 系统图库集 + * @author txb + * @date 2021/8/27 13:33 + */ + @GetMapping("/activity/sysPicture/getList") + R getSysPictureList(@RequestParam("type")Integer type); + + /** + * 活动报名名单 + * + * @param activitySignVO + * 查询参数 + * @return 报名人员集合 + */ + @PostMapping("listactivitysigns") + R listActivitySigns(@RequestBody ActivitySignVO activitySignVO); + + /** * 新增社区动态 * - * @param comActDynVO 新增信息 + * @param comActDynVO + * 新增信息 * @return 新增结果 */ @PostMapping("adddynamic") @@ -119,7 +658,8 @@ /** * 编辑社区动态 * - * @param comActDynVO 编辑内容 + * @param comActDynVO + * 编辑内容 * @return 编辑结果 */ @PostMapping("putdynamic") @@ -128,7 +668,8 @@ /** * 删除社区动态 * - * @param comActDynVO 动态id + * @param comActDynVO + * 动态id * @return 删除结果 */ @PostMapping("deletedynamic") @@ -137,7 +678,8 @@ /** * 分页查询社区动态 * - * @param comActDynVO 查询参数 + * @param comActDynVO + * 查询参数 * @return 动态集合 */ @PostMapping("pagedynamic") @@ -146,7 +688,8 @@ /** * 管理后台分页查询社区动态 * - * @param comActDynVO 查询参数 + * @param comActDynVO + * 查询参数 * @return 动态集合 */ @PostMapping("pagedynamicByAdmin") @@ -155,7 +698,8 @@ /** * 社区动态详情 * - * @param id 动态id + * @param id + * 动态id * @return 详情 */ @PostMapping("detaildynamic") @@ -164,7 +708,8 @@ /** * 分页查询随手拍 * - * @param comActEasyPhotoVO 查询参数 + * @param comActEasyPhotoVO + * 查询参数 * @return 心愿列表 */ @PostMapping("pageeasyphoto") @@ -173,27 +718,54 @@ /** * 随手拍详情 * - * @param id 随手拍主键 - * @param userId 登录用户id + * @param id + * 随手拍主键 + * @param userId + * 登录用户id * @return 详情内容 */ @PostMapping("detaileasyphoto") R detailEasyPhoto(@RequestParam("id") Long id, @RequestParam("userId") Long userId); /** + * 随手拍删除 + * + * @param id + * 随手拍主键 + * @param userId + * 登录用户id + * @return 详情内容 + */ + @PostMapping("deleteEasyPhoto") + R deleteEasyPhoto(@RequestParam("id") Long id, @RequestParam("userId") Long userId); + + /** * 分页查询微心愿 * - * @param comActMicroWishVO 查询参数 + * @param comActMicroWishVO + * 查询参数 * @return 分页集合 */ @PostMapping("pagemicrowish") R pageMicroWish(@RequestBody ComActMicroWishVO comActMicroWishVO); /** + * 小程序分页查询微心愿 + * + * @param comActMicroWishVO + * 查询参数 + * @return 分页集合 + */ + @PostMapping("pagemicrowish/applets") + R pageMicroWishApplets(@RequestBody ComActMicroWishVO comActMicroWishVO); + + /** * 心愿详情 * - * @param id 查询主键 - * @param userId 登录用户id + * @param id + * 查询主键 + * @param userId + * 登录用户id * @return 心愿内容 */ @PostMapping("detailmicrowish") @@ -202,7 +774,8 @@ /** * 审核、分配、反馈心愿 * - * @param comActMicroWishVO 具体操作 + * @param comActMicroWishVO + * 具体操作 * @return 操作结果 */ @PostMapping("putlmicrowish") @@ -211,7 +784,8 @@ /** * 分页展示我的所有活动 时间倒序排列 * - * @param comActActivityVO 分页参数 + * @param comActActivityVO + * 分页参数 * @return 分页集合 */ @PostMapping("pagemyactivity") @@ -220,7 +794,8 @@ /** * 报名/取消报名社区活动 * - * @param signactivityVO 报名参数 + * @param signactivityVO + * 报名参数 * @return 报名 取消报名 结果 */ @PostMapping("signactivity") @@ -229,16 +804,26 @@ /** * 上传随手拍 * - * @param comActEasyPhotoVO 上传数据 + * @param comActEasyPhotoVO + * 上传数据 * @return 上传结果 */ @PostMapping("addeasyphoto") R addEasyPhoto(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO); /** + * 查询随手拍是否有活动 + * + * @return 活动详情 + */ + @PostMapping("getEasyPhotoActivity") + R getEasyPhotoActivity(@RequestParam("communityId") Long communityId); + + /** * 发布微心愿 * - * @param comActMicroWishVO 发布内容 + * @param comActMicroWishVO + * 发布内容 * @return 发布结果 */ @PostMapping("addmicrowish") @@ -247,7 +832,8 @@ /** * 点赞/取消点赞随手拍 * - * @param comActEasyPhotoVO 操作参数 + * @param comActEasyPhotoVO + * 操作参数 * @return 操作结果 */ @PostMapping("puteasyphoto") @@ -256,7 +842,8 @@ /** * 点赞/取消点赞微心愿 * - * @param comActMicroWishVO 操作参数 + * @param comActMicroWishVO + * 操作参数 * @return 操作结果 */ @PostMapping("putmicrowish") @@ -265,8 +852,10 @@ /** * 新增社区动态浏览记录 * - * @param id 动态主键 - * @param userId 登录用户id + * @param id + * 动态主键 + * @param userId + * 登录用户id * @return 新增结果 */ @PostMapping("adddynamicuser") @@ -275,16 +864,38 @@ /** * 审核、反馈随手拍 * - * @param comActEasyPhotoVO 操作参数 + * @param comActEasyPhotoVO + * 操作参数 * @return 操作结果 */ @PostMapping("puteasyphotostatus") R putEasypHotoStatus(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO); /** + * 城管随手拍统计 + */ + @PostMapping("/esayPhotoCount") + R esayphotoCount(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO); + + /** + * + * 城管安排 + */ + @PostMapping("updatePageeasyphoto") + R updatePageeasyphoto(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO); + + /** + * + * 随手拍城管导出 + */ + @PostMapping("exportEasyPhoto") + R exportEasyPhoto(@RequestBody ExportEasyPhotoDTO exportEasyPhotoDTO); + + /** * 新增社区 * - * @param comActVO 社区信息 + * @param comActVO + * 社区信息 * @return 新增结果 */ @PostMapping("addcommunity") @@ -293,7 +904,8 @@ /** * 编辑社区 * - * @param comActVO 编辑内容 + * @param comActVO + * 编辑内容 * @return 编辑结果 */ @PostMapping("putCommunity") @@ -302,7 +914,8 @@ /** * 房屋信息 * - * @param userId 用户id + * @param userId + * 用户id * @return 房屋信息 */ @PostMapping("detailhouse") @@ -311,7 +924,8 @@ /** * 新增小区 * - * @param comMngStructAreaVO 小区信息 + * @param comMngStructAreaVO + * 小区信息 * @return 新增结果 */ @PostMapping("addarea") @@ -320,7 +934,8 @@ /** * 分页查询小区 * - * @param comMngStructAreaVO 查询参数 + * @param comMngStructAreaVO + * 查询参数 * @return 分页结果 */ @PostMapping("pagearea") @@ -329,7 +944,8 @@ /** * 编辑小区 * - * @param comMngStructAreaVO 编辑内容 + * @param comMngStructAreaVO + * 编辑内容 * @return 编辑结果 */ @PostMapping("putarea") @@ -338,7 +954,8 @@ /** * 删除小区 * - * @param comMngStructAreaVO 地址编码 + * @param comMngStructAreaVO + * 地址编码 * @return 删除结果 */ @PostMapping("deletearea") @@ -347,7 +964,8 @@ /** * 小区批量建房 * - * @param batchhouseVO 建房参数 + * @param batchhouseVO + * 建房参数 * @return 建房结果 */ @PostMapping("batchhouse") @@ -356,7 +974,8 @@ /** * 展示下级建筑 * - * @param houseCode 房屋编号 + * @param houseCode + * 房屋编号 * @return 下级建筑列表 */ @PostMapping("listsubordinatebuilding") @@ -371,11 +990,11 @@ @PostMapping("/common/data/company/belongs") R belongsComMngRealCompany(@RequestBody ComMngRealCompanyBelongsDTO comMngRealCompanyBelongsDTO); - /** * 添加同级地址 * - * @param comMngStructHouseVO 同级参数 + * @param comMngStructHouseVO + * 同级参数 * @return 添加结果 */ @PostMapping("addhouse") @@ -384,7 +1003,8 @@ /** * 编辑地址 * - * @param comMngStructHouseVO 编辑内容 + * @param comMngStructHouseVO + * 编辑内容 * @return 编辑结果 */ @PostMapping("addhouse") @@ -393,7 +1013,8 @@ /** * 删除地址 * - * @param comMngStructHouseVO 删除指定地址和所有下级 + * @param comMngStructHouseVO + * 删除指定地址和所有下级 * @return 删除结果 */ @PostMapping("deletehouse") @@ -402,7 +1023,8 @@ /** * 新增其他建筑 * - * @param comMngStructOtherBuildVO 建筑参数 + * @param comMngStructOtherBuildVO + * 建筑参数 * @return 新增结果 */ @PostMapping("addotherbuild") @@ -414,12 +1036,13 @@ * @return 类型列表 */ @PostMapping("listbuildtype") - R listBuildType(); + R listBuildType(@RequestParam("communityId")Long communityId); /** * 分页查询 其他建筑 * - * @param comMngStructOtherBuildVO 分页查询参数 + * @param comMngStructOtherBuildVO + * 分页查询参数 * @return 查询结果 */ @PostMapping("pageotherbuild") @@ -428,16 +1051,18 @@ /** * 获取志愿者详情 * - * @param id 志愿者信息 + * @param id + * 志愿者信息 * @return 增加结果 */ @GetMapping("getVolunteerById") - R getVolunteerById(@RequestParam("id")Long id); + R getVolunteerById(@RequestParam("id") Long id); /** * 增加志愿者 * - * @param comMngVolunteerMngVO 志愿者信息 + * @param comMngVolunteerMngVO + * 志愿者信息 * @return 增加结果 */ @PostMapping("addvolunteer") @@ -446,7 +1071,8 @@ /** * 删除志愿者 * - * @param comMngVolunteerMngVO 手机号 + * @param comMngVolunteerMngVO + * 手机号 * @return 删除结果 */ @PostMapping("deletevolunteer") @@ -455,7 +1081,8 @@ /** * 编辑志愿者 * - * @param comMngVolunteerMngVO 编辑内容 + * @param comMngVolunteerMngVO + * 编辑内容 * @return 编辑结果 */ @PostMapping("putvolunteer") @@ -464,7 +1091,8 @@ /** * 分页展示志愿者 * - * @param comMngVolunteerMngVO 查询参数 + * @param comMngVolunteerMngVO + * 查询参数 * @return 分页集合返回 */ @PostMapping("pagevolunteer") @@ -473,7 +1101,8 @@ /** * 分页展示志愿者审核 * - * @param comMngVolunteerMngVO 查询参数 + * @param comMngVolunteerMngVO + * 查询参数 * @return 查询结果 */ @PostMapping("pagevolunteerexamine") @@ -482,7 +1111,8 @@ /** * 志愿者审核详情 * - * @param id 主键 + * @param id + * 主键 * @return 详情 */ @PostMapping("detailvolunteerexamine") @@ -491,7 +1121,8 @@ /** * 志愿者审核 * - * @param comMngVolunteerMngVO 审核操作 + * @param comMngVolunteerMngVO + * 审核操作 * @return 审核结果 */ @PostMapping("putvolunteerexamine") @@ -500,7 +1131,8 @@ /** * 删除志愿者审核 * - * @param comMngVolunteerMngVO 主键 + * @param comMngVolunteerMngVO + * 主键 * @return 删除结果 */ @PostMapping("deletevolunteerexamine") @@ -509,7 +1141,8 @@ /** * 查询区域 * - * @param comActVO 登录人的经纬度、或者指定区域的社区 + * @param comActVO + * 登录人的经纬度、或者指定区域的社区 * @return 10个社区 */ @PostMapping("listcommunity") @@ -518,7 +1151,8 @@ /** * 用户修改手机号对应的志愿者手机号也要修改 * - * @param userPhoneVO 新旧手机号 + * @param userPhoneVO + * 新旧手机号 * @return 修改结果 */ @PostMapping("putvolunteerphone") @@ -527,8 +1161,10 @@ /** * 房屋地址下拉列表 * - * @param parentCode 父级编码 - * @param areaId 小区id + * @param parentCode + * 父级编码 + * @param areaId + * 小区id * @return 下级列表 */ @PostMapping("listhouses") @@ -537,7 +1173,8 @@ /** * 新增房屋 * - * @param comMngStructHouseVO 房屋信息 + * @param comMngStructHouseVO + * 房屋信息 * @return 新增结果 */ @PostMapping("addhouses") @@ -546,7 +1183,8 @@ /** * 查询小区 * - * @param communityId 社区id + * @param communityId + * 社区id * @return 小区集合 */ @PostMapping("listarea") @@ -555,16 +1193,19 @@ /** * 用户参加的所有社区活动 * - * @param userId 用户id + * @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,@RequestParam(value = "type",required = false)Integer type); /** * 用户确认心愿 * - * @param comActMicroWishVO 用户评价 + * @param comActMicroWishVO + * 用户评价 * @return 确认结果 */ @PostMapping("putmicrowishconfirm") @@ -573,7 +1214,8 @@ /** * 建筑类型 * - * @param communityId 社区id + * @param communityId + * 社区id * @return 建筑集合 */ @PostMapping("listcommngstructbuildtype") @@ -582,7 +1224,8 @@ /** * 增加删除建筑类型 * - * @param systemmanagementConfigVO 操作内容 + * @param systemmanagementConfigVO + * 操作内容 * @return 操作结果 */ @PostMapping("putcommngstructbuildtype") @@ -599,7 +1242,8 @@ /** * 编辑运营后台系统配置 * - * @param appletesBackstageConfigDTO 编辑内容 + * @param appletesBackstageConfigDTO + * 编辑内容 * @return 编辑结果 */ @PostMapping("putjumpcontent") @@ -608,7 +1252,8 @@ /** * 社区详情 * - * @param communityId 社区id + * @param communityId + * 社区id * @return 社区详情 */ @PostMapping("detailcommunity") @@ -617,7 +1262,8 @@ /** * 小区详情 * - * @param areaId 小区id + * @param areaId + * 小区id * @return 小区信息 */ @PostMapping("detailarea") @@ -626,7 +1272,8 @@ /** * 分页查询社区 * - * @param pageComActDTO 查询参数 + * @param pageComActDTO + * 查询参数 * @return 分页集合 */ @PostMapping("pagecommunity") @@ -635,7 +1282,8 @@ /** * 志愿者详情 * - * @param id 主键 + * @param id + * 主键 * @return */ @PostMapping("detailvolunteer") @@ -647,7 +1295,7 @@ * @return 社区集合 按照创建顺序倒序排列 */ @PostMapping("listcommunityall") - R listCommunityAll(); + R listCommunityAll(@RequestParam("areaCode")String areaCode); /** * 首页广告banner @@ -669,7 +1317,8 @@ /** * 编辑广告 * - * @param comOpsAdvDTO 编辑内容 + * @param comOpsAdvDTO + * 编辑内容 * @return 编辑结果 */ @PostMapping("putadvertisement") @@ -694,7 +1343,8 @@ /** * 社区管理后台数据看板 代办事件 * - * @param communityId 社区id + * @param communityId + * 社区id * @param userId * @return 代办事件列表 */ @@ -704,7 +1354,8 @@ /** * 删除社区 * - * @param communityId 社区id + * @param communityId + * 社区id * @return 删除结果 */ @PostMapping("delectcommunity") @@ -742,19 +1393,19 @@ @PostMapping("timedtaskactactivityall") R timedTaskActActivityAll(); - /** * 定时任务刷新社区活动的各个状态 除取消外 * * @return */ - @PostMapping("timedtaskactmicrowishall") + @PostMapping("timedtaskactmicrowish") R timedTaskActMicroWishAll(); /** * 其他建筑详情 * - * @param id 主键id + * @param id + * 主键id * @return 建筑内容 */ @PostMapping("detailotherbuild") @@ -763,7 +1414,8 @@ /** * 编辑其他建筑 * - * @param comMngStructOtherBuildVO 编辑内容 + * @param comMngStructOtherBuildVO + * 编辑内容 * @return 编辑结果 */ @PostMapping("putotherbuild") @@ -772,7 +1424,8 @@ /** * 删除其他建筑 * - * @param id 主键 + * @param id + * 主键 * @return 删除结果 */ @PostMapping("deleteotherbuild") @@ -781,7 +1434,8 @@ /** * 社区后台分页查询社区活动 * - * @param comActActivityVO 查询参数 + * @param comActActivityVO + * 查询参数 * @return 返回结果 */ @PostMapping("pageactivitycommunityback") @@ -790,7 +1444,8 @@ /** * 小程序分页查询随手拍 * - * @param comActEasyPhotoVO 查询参数 + * @param comActEasyPhotoVO + * 查询参数 * @return 返回结果 */ @PostMapping("pageeasyphotoapplets") @@ -799,7 +1454,8 @@ /** * 随手拍评论分页查询 * - * @param pageComActEasyPhotoCommentDTO 查询参数 + * @param pageComActEasyPhotoCommentDTO + * 查询参数 * @return 查询结果 */ @PostMapping("pagecomacteasyphotocomment") @@ -808,7 +1464,8 @@ /** * 评论点赞/取消点赞 * - * @param comActEasyPhotoCommentUserDTO 操作 + * @param comActEasyPhotoCommentUserDTO + * 操作 * @return 操作结果 */ @PostMapping("commentsign") @@ -817,143 +1474,206 @@ /** * 随手拍--评论--新增评论 * - * @param comActEasyPhotoCommentDTO 新增内容 + * @param comActEasyPhotoCommentDTO + * 新增内容 * @return 新增结果 */ @PostMapping("addcomacteasyphotocomment") R addComActEasyPhotoComment(@RequestBody ComActEasyPhotoCommentDTO comActEasyPhotoCommentDTO); /** - * 一起议-新增 + * 议事投票-新增 * - * @param comActDiscussDTO 新增参数 + * @param comActDiscussDTO + * 新增参数 * @return 新增结果 */ @PostMapping("adddiscuss") R addDiscuss(@RequestBody ComActDiscussDTO comActDiscussDTO); /** - * 一起议-详情 + * 议事投票-新增 * - * @param id 主键 + * @param comActDiscussDTO + * 新增参数 + * @return 新增结果 + */ + @PostMapping("editdiscuss") + R editDiscuss(@RequestBody ComActDiscussDTO comActDiscussDTO); + + /** + * 议事投票-详情 + * + * @param discussDetailDTO + * 请求参数 * @return ComActDiscussVO */ @PostMapping("detaildiscuss") - R detailDiscuss(@RequestParam("id") Long id); + R detailDiscuss(@RequestBody ComActDiscussDetailDTO discussDetailDTO); /** - * 一起议-删除 + * 分页查询评论下回复列表 + * @param discussDetailDTO 请求参数 + * @return 回复列表 + */ + @PostMapping("discussCommentReplyAdmin") + R discussCommentReplyAdmin(@RequestBody ComActDiscussDetailDTO discussDetailDTO); + + /** + * 议事投票-删除 * - * @param id 主键 + * @param id + * 主键 * @return 删除结果 */ @PostMapping("deletediscuss") R deleteDiscuss(@RequestParam("id") Long id); /** - * 一起议-回复 + * 议事投票-回复 * - * @param comActDiscussCommentDTO 评论内容 + * @param comActDiscussCommentDTO + * 评论内容 * @return 回复结果 */ @PostMapping("adddiscusscomment") R addDiscussComment(@RequestBody ComActDiscussCommentDTO comActDiscussCommentDTO); /** - * 一起议-分页查询 + * 议事投票-分页查询 * - * @param pageComActDiscussDTO 查询参数 + * @param pageComActDiscussDTO + * 查询参数 * @return ComActDiscussVO */ @PostMapping("pagediscuss") R pageDiscuss(@RequestBody PageComActDiscussDTO pageComActDiscussDTO); /** - * 一起议-评论-查看 + * 议事投票-后台分页查询 * - * @param id 主键 + * @param pageComActDiscussDTO + * 查询参数 + * @return ComActDiscussVO + */ + @PostMapping("pagediscussAdmin") + R pageDiscussAdmin(@RequestBody PageComActDiscussDTO pageComActDiscussDTO); + + /** + * 议事投票-评论-查看 + * + * @param id + * 主键 * @return 详情 */ @PostMapping("detaildiscusscomment") R detailDiscussComment(@RequestParam("id") Long id); /** - * 一起议-评论-置顶 + * 议事投票评论详情 + * @param pageComActDiscussCommentDTO 请求参数 + * @return 议事投票详情 + */ + @PostMapping("detaildiscusscommentAdmin") + R detailDiscussCommentAdmin(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO); + + /** + * 议事投票-评论-置顶 * - * @param id 主键 + * @param id + * 主键 * @return 置顶结果 */ @PostMapping("putdiscusscommenttop") R putDiscussCommentTop(@RequestParam("id") Long id); /** - * 一起议-评论-回复 + * 议事投票-评论-回复 * - * @param comActDiscussCommentDTO 回复内容 + * @param comActDiscussCommentDTO + * 回复内容 * @return 回复结果 */ @PostMapping("adddiscusscommentback") R addDiscussCommentBack(@RequestBody ComActDiscussCommentDTO comActDiscussCommentDTO); /** - * 一起议-评论-分页查询 + * 议事投票-评论-分页查询 * - * @param pageComActDiscussCommentDTO 分页查询参数 + * @param pageComActDiscussCommentDTO + * 分页查询参数 * @return ComActDiscussCommentVO */ @PostMapping("pagediscusscomment") R pageDiscussComment(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO); /** - * 一起议-分页查询 小程序 + * 议事投票-评论-后台分页查询 * - * @param pageComActDiscussDTO 查询参数 + * @param pageComActDiscussCommentDTO + * 分页查询参数 + * @return ComActDiscussCommentVO + */ + @PostMapping("pagediscusscommentAdmin") + R pageDiscussCommentAdmin(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO); + + /** + * 议事投票-分页查询 小程序 + * + * @param pageComActDiscussDTO + * 查询参数 * @return ComActDiscussVO 分页 */ @PostMapping("pagediscussapplets") R pageDiscussApplets(@RequestBody PageComActDiscussDTO pageComActDiscussDTO); /** - * 一起议-点赞、取消点赞 + * 议事投票-点赞、取消点赞 * - * @param comActDiscussUserDTO 操作类型 + * @param comActDiscussUserDTO + * 操作类型 * @return 操作结果 */ @PostMapping("putdiscussuser") R putDiscussUser(@RequestBody ComActDiscussUserDTO comActDiscussUserDTO); /** - * 一起议-评论-分页查询 小程序 + * 议事投票-评论-分页查询 小程序 * - * @param pageComActDiscussCommentDTO 分页参数 + * @param pageComActDiscussCommentDTO + * 分页参数 * @return ComActDiscussCommentVO */ @PostMapping("pagediscusscommentapplets") R pageDiscussCommentApplets(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO); /** - * 一起议-详情 小程序 + * 议事投票-详情 小程序 * - * @param id 主键 - * @param userId 登录用户主键 + * @param id + * 主键 + * @param userId + * 登录用户主键 * @return ComActDiscussVO */ @PostMapping("detaildiscussapplets") R detailDiscussApplets(@RequestParam("id") Long id, @RequestParam("userId") Long userId); /** - * 一起议-投票 + * 议事投票-投票 * - * @param comActDiscussOptionUserDTO 投票信息 + * @param comActDiscussOptionUserDTO + * 投票信息 * @return 投票结果 */ @PostMapping("adddiscussoptionuser") R addDiscussOptionUser(@RequestBody ComActDiscussOptionUserDTO comActDiscussOptionUserDTO); /** - * 一起议-评论-点赞、取消点赞 + * 议事投票-评论-点赞、取消点赞 * - * @param comActDiscussUserDTO 评论点赞 + * @param comActDiscussUserDTO + * 评论点赞 * @return 点赞结果 */ @PostMapping("putdiscusscommentuser") @@ -962,7 +1682,8 @@ /** * 分页查询广告 * - * @param pageComOpsAdvDTO 查询内容 + * @param pageComOpsAdvDTO + * 查询内容 * @return 查询结果 ComOpsAdvVO */ @PostMapping("pageadvertisement") @@ -971,7 +1692,8 @@ /** * 广告详情 * - * @param id 主键 + * @param id + * 主键 * @return 广告内容 */ @PostMapping("detailadvertisement") @@ -980,7 +1702,8 @@ /** * 删除广告 * - * @param id 主键 + * @param id + * 主键 * @return 删除结果 */ @PostMapping("deleteadvertisement") @@ -989,7 +1712,8 @@ /** * 查询城市下属所有地区列表 * - * @param cityAdcode 城市地址编码 + * @param cityAdcode + * 城市地址编码 * @return 地区列表 */ @PostMapping("listareadistrict") @@ -998,7 +1722,8 @@ /** * 首页图表数据汇总 * - * @param communityId 社区id + * @param communityId + * 社区id * @return 图表数据 */ @PostMapping("indexdatacommunitybackstageechart") @@ -1007,8 +1732,10 @@ /** * 选择导入的小区 * - * @param param 小区名字 模糊查询 - * @param communityId 社区id + * @param param + * 小区名字 模糊查询 + * @param communityId + * 社区id * @return 小区集合 ComMngStructAreaVO */ @PostMapping("listareas") @@ -1017,7 +1744,8 @@ /** * 检查小区是否已经批量设置过房屋并且返回小区房屋门号规则 * - * @param id 小区id + * @param id + * 小区id * @return ComMngStructAreaVO */ @PostMapping("checkAreaHouse") @@ -1026,7 +1754,8 @@ /** * 新增留言 * - * @param comActMessageVO 新增留言信息 + * @param comActMessageVO + * 新增留言信息 * @return 发布结果 */ @PostMapping("addmessage") @@ -1035,7 +1764,8 @@ /** * 我的留言 * - * @param comActMessageVO 留言信息 + * @param comActMessageVO + * 留言信息 * @return 发布结果 */ @PostMapping("pagemymessage") @@ -1044,7 +1774,8 @@ /** * 给我的留言 * - * @param comActMessageVO 留言信息 + * @param comActMessageVO + * 留言信息 * @return 发布结果 */ @PostMapping("pagesendtomemessage") @@ -1053,7 +1784,8 @@ /** * 新增留言回复 * - * @param comActMessageBackVO 保存留言回复信息 + * @param comActMessageBackVO + * 保存留言回复信息 * @return 发布结果 */ @PostMapping("addmessageback") @@ -1086,7 +1818,8 @@ /** * 分页显示社区所有留言 * - * @param comActMessageVO 留言信息 + * @param comActMessageVO + * 留言信息 * @return 结果集合 */ @PostMapping("pagemycommunitymessage") @@ -1104,25 +1837,28 @@ /** * 小程序通过便民服务区域分页查询便民服务商家 * - * @param comCvtBusinessAppletsDTO 查询参数 + * @param comCvtBusinessAppletsDTO + * 查询参数 * @return 返回结果 */ @PostMapping("/convenient/business/area/page") R pageComCvtBusinessByServiceArea(@RequestBody PageComCvtBusinessAppletsDTO comCvtBusinessAppletsDTO); /** - * 一起议-新增 + * 议事投票-新增 * - * @param comOpsHouseDTO 新增参数 + * @param comOpsHouseDTO + * 新增参数 * @return 新增结果 */ @PostMapping("addOpsHouse") R addOpsHouse(@RequestBody ComOpsHouseDTO comOpsHouseDTO); /** - * 一起议-详情 + * 议事投票-详情 * - * @param id 主键 + * @param id + * 主键 * @return ComOpsHouseVO */ @PostMapping("detailOpsHouse") @@ -1131,7 +1867,8 @@ /** * 房屋租售-修改 * - * @param comOpsHouseVO 修改参数 + * @param comOpsHouseVO + * 修改参数 * @return 修改结果 */ @PostMapping("/putOpsHouse") @@ -1140,7 +1877,8 @@ /** * 房屋租售-小程序修改 * - * @param comOpsHouseVO 修改参数 + * @param comOpsHouseVO + * 修改参数 * @return 修改结果 */ @PostMapping("/putOpsHouseByApplets") @@ -1149,25 +1887,28 @@ /** * 房屋租售-上下架 * - * @param comOpsHouseVO 上下架参数 + * @param comOpsHouseVO + * 上下架参数 * @return 上下架结果 */ @PostMapping("/undercarriageHouse") R undercarriageHouse(@RequestBody ComOpsHouseUndercarriageVO comOpsHouseVO); /** - * 一起议-删除 + * 议事投票-删除 * - * @param id 主键 + * @param id + * 主键 * @return 删除结果 */ @PostMapping("deleteOpsHouse") R deleteOpsHouse(@RequestParam("id") Long id); /** - * 一起议-分页查询 + * 房屋租售-分页查询 * - * @param pageComOpsHouseDTO 查询参数 + * @param pageComOpsHouseDTO + * 查询参数 * @return ComOpsHouseVO */ @PostMapping("pageOpsHouse") @@ -1176,7 +1917,8 @@ /** * 社区后台分页查询便民服务商家 * - * @param pageComCvtBusinessDTO 查询参数 + * @param pageComCvtBusinessDTO + * 查询参数 * @return 返回结果 */ @PostMapping("/convenient/business/page") @@ -1191,11 +1933,11 @@ @PostMapping("/convenient/business/add") R addComCvtBusiness(ComCvtBusinessDTO comCvtBusinessDTO); - /** * 编辑便民服务商家 * - * @param comCvtBusinessDTO 商家参数 + * @param comCvtBusinessDTO + * 商家参数 * @return 返回结果 */ @PutMapping("/convenient/business/put") @@ -1204,7 +1946,8 @@ /** * 查询便民服务商家详情 * - * @param id 商家主键 + * @param id + * 商家主键 * @return 返回结果 */ @GetMapping("/convenient/business/get") @@ -1213,22 +1956,22 @@ /** * 删除便民服务商家信息 * - * @param id 商家主键 + * @param id + * 商家主键 * @return 返回结果 */ @DeleteMapping("/convenient/business/delete") R deleteComCvtBusiness(@RequestParam("id") Long id); - /** * 社区后台分页查询便民服务分类 * - * @param pageComCvtCategoryDTO 查询参数 + * @param pageComCvtCategoryDTO + * 查询参数 * @return 返回结果 */ @PostMapping("/convenient/category/page") R pageComCvtCategory(@RequestBody PageComCvtCategoryDTO pageComCvtCategoryDTO); - /** * 社区后台分页查询便民服务分类 @@ -1241,7 +1984,8 @@ /** * 新增便民服务分类 * - * @param comCvtCategoryDTO 分类参数 + * @param comCvtCategoryDTO + * 分类参数 * @return 返回结果 */ @PostMapping("/convenient/category/add") @@ -1250,7 +1994,8 @@ /** * 编辑便民服务分类 * - * @param comCvtCategoryDTO 分类参数 + * @param comCvtCategoryDTO + * 分类参数 * @return 返回结果 */ @PutMapping("/convenient/category/put") @@ -1259,7 +2004,8 @@ /** * 查询便民服务分类详情 * - * @param id 分类主键 + * @param id + * 分类主键 * @return 返回结果 */ @GetMapping("/convenient/category/get") @@ -1268,7 +2014,8 @@ /** * 删除便民服务分类信息 * - * @param id 分类主键 + * @param id + * 分类主键 * @return 返回结果 */ @DeleteMapping("/convenient/category/delete") @@ -1277,7 +2024,8 @@ /** * 社区后台分页查询便民服务 * - * @param pageComCvtServeDTO 查询参数 + * @param pageComCvtServeDTO + * 查询参数 * @return 返回结果 */ @PostMapping("/convenient/serve/page") @@ -1286,7 +2034,8 @@ /** * 新增便民服务 * - * @param comCvtServeDTO 参数 + * @param comCvtServeDTO + * 参数 * @return 返回结果 */ @PostMapping("/convenient/serve/add") @@ -1295,7 +2044,8 @@ /** * 编辑便民服务 * - * @param comCvtServeDTO 分类参数 + * @param comCvtServeDTO + * 分类参数 * @return 返回结果 */ @PutMapping("/convenient/serve/put") @@ -1304,7 +2054,8 @@ /** * 查询便民服务详情 * - * @param id 服务主键 + * @param id + * 服务主键 * @return 返回结果 */ @GetMapping("/convenient/serve/get") @@ -1313,17 +2064,18 @@ /** * 删除便民服务信息 * - * @param id 服务主键 + * @param id + * 服务主键 * @return 返回结果 */ @DeleteMapping("/convenient/serve/delete") R deleteComCvtServe(@RequestParam("id") Long id); - /** * 小程序便民服务商家详情 * - * @param id 商家ID + * @param id + * 商家ID * @return */ @GetMapping("/convenient/business/serve/get") @@ -1332,10 +2084,12 @@ /** * 批量导入便民服务 * - * @param list 便民服务集合 + * @param list + * 便民服务集合 */ @PostMapping("/convenient/serve/import") - R listSaveConvenientServeExcelVO(@RequestBody List<ComCvtServeExcelVO> list, @RequestParam("communityId") Long communityId); + R listSaveConvenientServeExcelVO(@RequestBody List<ComCvtServeExcelVO> list, + @RequestParam(value = "communityId", required = false) Long communityId); /** * 导出房屋信息 @@ -1382,10 +2136,20 @@ /** * 批量导入便民服务 * - * @param list 便民服务集合 + * @param list + * 便民服务集合 */ @PostMapping("/common/data/car/import") R listSaveMngCarExcelVO(@RequestBody List<ComMngCarExcelVO> list, @RequestParam("communityId") Long communityId); + + /** + * 车辆导出 + * + * @param exportComMngCarExcelDTO + * @return + */ + @PostMapping("/common/data/car/export") + R exportRealCar(@RequestBody ExportComMngCarExcelDTO exportComMngCarExcelDTO); /** * 社区后台实有单位管理列表 @@ -1395,6 +2159,16 @@ */ @PostMapping("/common/data/company/page") R pageQueryComMngRealCompany(@RequestBody PageComMngRealCompanyDTO pageComMngRealCompanyDTO); + + /** + * 社区后台实有单位统计 + * + * @param communityId + * 社区id + * @return 统计结果 + */ + @PostMapping("/common/data/company/statistics") + R getComMngRealCompanyTotalByAdmin(@RequestParam("communityId") Long communityId); /** * 社区后台添加修改实有单位 @@ -1426,10 +2200,12 @@ /** * 批量导入实有单位 * - * @param list 实有单位集合 + * @param list + * 实有单位集合 */ @PostMapping("/common/data/company/import") - R listSaveMngRealCompanyExcelVO(@RequestBody List<ComMngRealCompanyExcelVO> list, @RequestParam("communityId") Long communityId); + R listSaveMngRealCompanyExcelVO(@RequestBody List<ComMngRealCompanyExcelVO> list, + @RequestParam("communityId") Long communityId); /** * 实有单位导出 @@ -1479,10 +2255,12 @@ /** * 批量导入实有单位 * - * @param list 实有单位集合 + * @param list + * 实有单位集合 */ @PostMapping("/common/data/assets/import") - R listSaveMngRealAssetsExcelVO(@RequestBody List<ComMngRealAssetsExcelVO> list, @RequestParam("communityId") Long communityId); + R listSaveMngRealAssetsExcelVO(@RequestBody List<ComMngRealAssetsExcelVO> list, + @RequestParam("communityId") Long communityId); /** * 实有单位导出 @@ -1520,18 +2298,21 @@ R getDistrictByCityCode(@RequestParam(value = "cityAdcode") Integer cityAdcode); /** - * 查询省下所有区域 tree结构 + * 查询省下所有区域 tree结构 * - * @param provinceAdcode 省份code + * @param provinceAdcode + * 省份code + * @param areaCode * @return 查询结果 */ @GetMapping("/common/data/area/all") - R getCityTreeByProvinceCode(@RequestParam(value = "provinceAdcode") Integer provinceAdcode); + R getCityTreeByProvinceCode(@RequestParam(value = "provinceAdcode") Integer provinceAdcode, @RequestParam(value = "areaCode", required = false) String areaCode); /** * 分页查询街道 * - * @param pageComStreetDTO 查询条件 + * @param pageComStreetDTO + * 查询条件 * @return 查询结果 */ @PostMapping("/pagestreet") @@ -1540,7 +2321,8 @@ /** * 新增街道 * - * @param comStreetVOO 需要新增的街道数据 + * @param comStreetVOO + * 需要新增的街道数据 * @return 新增结果 */ @PostMapping("/addstreet") @@ -1549,7 +2331,8 @@ /** * 删除街道 * - * @param Ids 需要删除街道id集合 + * @param Ids + * 需要删除街道id集合 * @return 删除结果 */ @PostMapping("/deletestreet") @@ -1558,7 +2341,8 @@ /** * 查询街道 * - * @param comStreetVO 查询条件 + * @param comStreetVO + * 查询条件 * @return 返回结果 */ @PostMapping("/liststreet") @@ -1567,7 +2351,8 @@ /** * 分页查询实有房屋 * - * @param pageComMngVillageDTO 查询条件 + * @param pageComMngVillageDTO + * 查询条件 * @return 返回结果 */ @PostMapping("/pagevillage") @@ -1576,7 +2361,8 @@ /** * 新增实有房屋 * - * @param comMngVillageVO 新增的实有房屋数据 + * @param comMngVillageVO + * 新增的实有房屋数据 * @return 新增结果 */ @PostMapping("/addvillage") @@ -1585,7 +2371,8 @@ /** * 删除实有房屋 * - * @param Ids 需要删除的id集合 + * @param Ids + * 需要删除的id集合 * @return 删除结果 */ @PostMapping("/deletevillage") @@ -1594,65 +2381,294 @@ /** * 查询实有房屋 * - * @param comMngVillageVO 查询条件 + * @param comMngVillageVO + * 查询条件 * @return 查询结果 */ @PostMapping("/listvillage") R listVillage(ComMngVillageVO comMngVillageVO); /** + * 根据房屋id查询实有房屋 + * + * @param villageId + * 查询条件 + * @return 查询结果 + */ + @PostMapping("/getVillageById") + R getVillageById(@RequestParam(value = "villageId") Long villageId); + + /** * 批量导入实有房屋 * - * @param list 实有房屋数据 - * @param communityId 社区id + * @param list + * 实有房屋数据 + * @param communityId + * 社区id * @return 导入结果 */ @PostMapping("/village/import") - R listSaveVillageServeExcelVO(@RequestBody List<ComMngVillageServeExcelVO> list, @RequestParam(value = "communityId") Long communityId); - + R listSaveVillageServeExcelVO(@RequestBody List<ComMngVillageServeExcelVO> list, + @RequestParam(value = "communityId") Long communityId); /** * 批量导入实有人口 * - * @param list 实有人口数据 - * @param communityId 社区id + * @param list + * 实有人口数据 + * @param communityId + * 社区id * @return 导入结果 */ @PostMapping("/common/data/population/import") - R listSavePopulationServeExcelVO(@RequestBody List<ComMngPopulationServeExcelVO> list, @RequestParam(value = "communityId") Long communityId); + R listSavePopulationServeExcelVO(@RequestBody List<ComMngPopulationServeExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入吸毒人员 + * + * @param list + * 吸毒人员数据 + * @param communityId + * 社区id + * @return 导入结果 + */ + @PostMapping("/common/data/population/importDrug") + R listSavePopulationDrugExcelVO(@RequestBody List<ComMngPopulationDrugExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入社区矫正人员 + * + * @param list + * 社区矫正人员数据 + * @param communityId + * 社区id + * @return 导入结果 + */ + @PostMapping("/common/data/population/importCorrect") + R listSavePopulationCorrectExcelVO(@RequestBody List<ComMngPopulationCorrectExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入重精人员 + * + * @param list + * 重精人员数据 + * @param communityId + * 社区id + * @return 导入结果 + */ + @PostMapping("/common/data/population/importMajor") + R listSavePopulationMajorExcelVO(@RequestBody List<ComMngPopulationMajorExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入邪教人员 + * + * @param list + * 邪教人员数据 + * @param communityId + * 社区id + * @return 导入结果 + */ + @PostMapping("/common/data/population/importCult") + R listSavePopulationCultExcelVO(@RequestBody List<ComMngPopulationCultExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入刑释人员 + * + * @param list + * 刑释人员数据 + * @param communityId + * 社区id + * @return 导入结果 + */ + @PostMapping("/common/data/population/importRehabilitation") + R listSavePopulationRehabilitationExcelVO(@RequestBody List<ComMngPopulationRehabilitationExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入重点上访人员 + * + * @param list + * 重点上访人员数据 + * @param communityId + * 社区id + * @return 导入结果 + */ + @PostMapping("/common/data/population/importKey") + R listSavePopulationKeyExcelVO(@RequestBody List<ComMngPopulationKeyExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入服刑人员 + * + * @param list + * 服刑人员数据 + * @param communityId + * 社区id + * @return 导入结果 + */ + @PostMapping("/common/data/population/importSentence") + R listSavePopulationSentenceExcelVO(@RequestBody List<ComMngPopulationSentenceExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入退役军人 + * + * @param list + * 退役军人数据 + * @param communityId + * 社区id + * @return 导入结果 + */ + @PostMapping("/common/data/population/importVeterans") + R listSavePopulationVeteransExcelVO(@RequestBody List<ComMngPopulationVeteransExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入残疾人 + * + * @param list + * 残疾人数据 + * @param communityId + * 社区id + * @return 导入结果 + */ + @PostMapping("/common/data/population/importDisability") + R listSavePopulationDisabilityExcelVO(@RequestBody List<ComMngPopulationDisabilityExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入低保户 + * + * @param list + * 低保户数据 + * @param communityId + * 社区id + * @return 导入结果 + */ + @PostMapping("/common/data/population/importLowSecurity") + R listSavePopulationLowSecurityExcelVO(@RequestBody List<ComMngPopulationLowSecurityExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入高龄老人 listSavePopulationElderExcelVO 批量导入高龄老人 + * @param list 高龄老人数据 + * @param communityId 社区id + * @return R 导入结果 + * @author txb + * @date 2021/9/01 15:03 + */ + @PostMapping("/common/data/population/importElder") + R listSavePopulationElderExcelVO(@RequestBody List<ComMngPopulationElderExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入养老金人员 listSavePopulationPensionExcelVO 批量导入养老金人员 + * @param list 养老金人员数据 + * @param communityId 社区id + * @return R 导入结果 + * @author txb + * @date 2021/9/01 15:03 + */ + @PostMapping("/common/data/population/importPension") + R listSavePopulationPensionExcelVO(@RequestBody List<ComMngPopulationPensionExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入高龄老人线下认证记录 listSaveElderAuthRecordExcelVO 批量导入高龄老人线下认证记录 + * @param list 高龄老人线下认证记录数据 + * @param communityId 社区id + * @param userId 登录人id + * @return R 导入结果 + * @author txb + * @date 2021/9/01 15:03 + */ + @PostMapping("/elders/authRecords/underLine/import") + R listSaveElderAuthRecordExcelVO(@RequestBody List<ComElderAuthRecordImportExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + /** + * 批量导入养老线下认证记录 listSavePensionAuthRecordExcelVO 批量导入养老线下认证记录 + * @param list 养老线下认证记录数据 + * @param communityId 社区id + * @param userId 登录人id + * @return R 导入结果 + * @author txb + * @date 2021/9/01 15:03 + */ + @PostMapping("/elders/pensionAuthRecords/underLine/import") + R listSavePensionAuthRecordExcelVO(@RequestBody List<ComPensionAuthRecordImportExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); /** * 确认导入实有人口(有则更新,无则新建) - * @param list 用户信息 - * @param communityId 社区id - * @return 导入结果 + * + * @param list + * 用户信息 + * @param communityId + * 社区id + * @return 导入结果 */ @PostMapping("/common/data/population/import/confirm") - R listSavePopulationConfirm(@RequestBody List<ComMngPopulationServeExcelVO> list, @RequestParam(value = "communityId") Long communityId); + R listSavePopulationConfirm(@RequestBody List<ComMngPopulationServeExcelVO> list, + @RequestParam(value = "communityId") Long communityId); /** * 分页查询实有人口 * - * @param comMngPopulationVO 查询参数 + * @param comMngPopulationVO + * 查询参数 * @return 分页集合 */ @PostMapping("/common/data/population/page") R pagePopulation(ComMngPopulationDTO comMngPopulationVO); /** + * 导出老人 + * + * @param comMngPopulationVO + * 查询参数 + * @return 分页集合 + */ + @PostMapping("/common/data/population/exportOld") + R exportOld(ComMngPopulationDTO comMngPopulationVO); + + + /** + * 根据身份证查询实有人口信息 + */ + @GetMapping("/common/data/population/selectByIdCard") + R selectByIdCard(@RequestParam("idCard") String idCard); + + /** * 根据id实有人口详细信息 * - * @param populationId 实有人口id + * @param populationId + * 实有人口id * @return 实有人口详细信息 */ @PostMapping("/common/data/population/detail") - R detailPopulation(@RequestParam(value = "populationId") Long populationId); + R<ComMngPopulationVO> detailPopulation(@RequestParam(value = "populationId") Long populationId, @RequestParam(value = "communityId") Long communityId); + /** + * 根据id查询实有人口电子档案信息 + * + * @param populationId + * 实有人口id + * @return 实有人口电子档信息 + */ + @PostMapping("/common/data/population/electronicArchives") + R electronicArchivesPopulation(@RequestParam(value = "populationId") Long populationId); /** * 根据id修改实有人口标签列表 * - * @param populationTagDTO 请求参数 + * @param populationTagDTO + * 请求参数 * @return 修改结果 */ @PostMapping("/common/data/population/editTag") @@ -1661,16 +2677,18 @@ /** * 批量删除实有人口 * - * @param Ids 实有人口id集合 + * @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查询所有实有人口 * - * @param communityId 社区id + * @param communityId + * 社区id * @return 查询结果 */ @PostMapping("/common/data/population/getAll") @@ -1679,11 +2697,22 @@ /** * 根据id集合查询实有人口 * - * @param Ids 实有人口id集合 + * @param Ids + * 实有人口id集合 * @return 查询结果 */ @PostMapping("/common/data/population/getList") R getPopulationLists(@RequestBody List<Long> Ids); + + /** + * 根据小区id查询实有人口 + * + * @param villageId + * 小区id + * @return 查询结果 + */ + @PostMapping("/common/data/population/getListByVillageId") + R getPopulationListByVillageId(@RequestParam("villageId") Long villageId); /** * 创建调查问卷 @@ -1692,17 +2721,27 @@ * @return */ @PostMapping("/questnaire/addquestnaire") - R addQuestnaire(@RequestBody QuestnaireVO questnaireVO, @RequestParam("communityId") Long communityId, @RequestParam("userId") Long userId); + R addQuestnaire(@RequestBody QuestnaireVO questnaireVO); /** - * 社区问卷列表 + * 小程序-社区问卷列表 * * @param pageQuestnaireDTO - * @return + * 请求参数 + * @return 社区问卷列表 */ @PostMapping("/questnaire/pagequestnaire") - R pageQuestnaire(@RequestBody PageQuestnaireDTO pageQuestnaireDTO, @RequestParam("communityId") Long communityId); + R pageQuestnaire(@RequestBody PageQuestnaireDTO pageQuestnaireDTO); + /** + * 社区后台-社区问卷列表 + * + * @param pageQuestnaireDTO + * 请求参数 + * @return 社区问卷列表 + */ + @PostMapping("/questnaire/admin/pagequestnaire") + R pageQuestnaireAdmin(@RequestBody PageQuestnaireDTO pageQuestnaireDTO); /** * 编辑问卷——问卷、题目、选项 @@ -1711,8 +2750,7 @@ * @return */ @PostMapping("/questnaire/editquestnaire") - R editQuestnaire(@RequestBody QuestnaireVO questnaireVO) ; - + R editQuestnaire(@RequestBody QuestnaireVO questnaireVO); /** * 修改问卷状态 @@ -1721,38 +2759,88 @@ * @return */ @PostMapping("/questnaire/editquestnairedo") - R editQuestnaireDO(@RequestBody EditComActQuestnaireVo editComActQuestnaireVo, @RequestParam("userId") Long userId); + R editQuestnaireDO(@RequestBody EditComActQuestnaireVo editComActQuestnaireVo); /** - * 删除问卷 ——隐藏 + * 删除问卷 ——隐藏 * - * @param questId 调查问卷Id + * @param questId + * 调查问卷Id * @return */ @PostMapping("/questnaire/deletequestnaire") - R editQuestnaireDO(@RequestParam("questId") Long questId,@RequestParam("userId") Long userId); + R editQuestnaireDO(@RequestParam("questId") Long questId, @RequestParam("userId") Long userId); /** * 问卷答题结果 * - * @param questId 问卷ID + * @param questId + * 问卷ID */ @PostMapping("/questnaire/answerslist") R answerResultList(@RequestParam("questId") Long questId); - /** * 问卷调查详细 - * @param questId 问卷ID + * + * @param questId + * 问卷ID * @return 用户问卷调查详细 */ @GetMapping("/questnaire/view") R view(@RequestParam("userId") Long userId, @RequestParam("questId") Long questId); /** + * 小程序-问卷调查详情 + * + * @param userId + * 用户id + * @param questId + * 问卷id + * @return 问卷调查详情 + */ + @GetMapping("/questnaire/view/detail") + R viewDetail(@RequestParam("userId") Long userId, @RequestParam("questId") Long questId); + + /** + * 小程序-新增问卷调查浏览数量 + * + * @param questId + * 问卷调查id + * @return 增加结果 + */ + @GetMapping("/questnaire/add/view") + R addView(@RequestParam("questId") Long questId); + + /** + * 小程序-用户弹窗添加不在提醒接口 + * + * @param questId + * 问卷id + * @param userId + * 用户id + * @return 添加结果 + */ + @GetMapping("/questnaire/add/noNotice") + R addNoNotice(@RequestParam("questId") Long questId, @RequestParam("userId") Long userId); + + /** + * 社区后台-查询问卷调查详情 + * + * @param questId + * 问卷id + * @return 问卷调查详情 + */ + @GetMapping("/questnaire/admin/detail") + R QuesDetail(@RequestParam("questId") Long questId); + + /** * 用户问卷调查详细 - * @param userId 用户ID - * @param questId 问卷ID + * + * @param userId + * 用户ID + * @param questId + * 问卷ID * @return 用户问卷调查详细 */ @GetMapping("/questnaire/usersanswer") @@ -1760,92 +2848,111 @@ /** * 查看用户问卷调查统计信息 - * @param questId 问卷ID + * + * @param questId + * 问卷ID * @return 用户问卷调查统计信息 */ @GetMapping("/questnaire/stat") R statistics(@RequestParam("questId") Long questId); - /** * 问卷题目 答卷信息 * - * @param pageQuestnaireSubDetailsDTO 问卷ID + * @param pageQuestnaireSubDetailsDTO + * 问卷ID */ @PostMapping("/questnaire/qaqeustanswerdetails") R qaQeustAnswerDetails(@RequestBody PageQuestnaireSubDetailsDTO pageQuestnaireSubDetailsDTO); - /** * 社区问卷分页 - * @param pageQuestnaireAnswerDTO 社区问卷分页参数 + * + * @param pageQuestnaireAnswerDTO + * 社区问卷分页参数 * @return 分页数据 */ @PostMapping("/questnaire/pagequestnaireanswer") R pageQuestnaireAnswer(@RequestBody PageQuestnaireAnswerDTO pageQuestnaireAnswerDTO); - /** * 居民填写问卷调查问卷 - * @param usersAnswerQuestnaireVO 填写情况 + * + * @param usersAnswerQuestnaireVO + * 填写情况 */ @PostMapping("/questnaire/usersanswequestnaire") - R usersAnsweQuestnaire(@RequestBody UsersAnswerQuestnaireVO usersAnswerQuestnaireVO, @RequestParam("userId") Long userId); + R usersAnsweQuestnaire(@RequestBody UsersAnswerQuestnaireVO usersAnswerQuestnaireVO); /** * 店铺列表-分页查询 - * @param pageComShopStoreDTO 分页条件 + * + * @param pageComShopStoreDTO + * 分页条件 */ @PostMapping("/shop/pageShopStore") R pageStoreList(@RequestBody PageComShopStoreDTO pageComShopStoreDTO); /** * 保存店铺 - * @param storeVO 数据 + * + * @param storeVO + * 数据 */ @PostMapping("/shop/saveStore") R saveStore(@RequestBody ShopStoreVO storeVO); /** * 新增店铺 - * @param storeVO 店铺信息 - * @return 新增结果 + * + * @param storeVO + * 店铺信息 + * @return 新增结果 */ @PostMapping("/shop/addStore") R addStore(@RequestBody ShopStoreVO storeVO); /** * 编辑店铺、启用、禁用 - * @param storeVO 数据 - * @param id 商铺id + * + * @param storeVO + * 数据 + * @param id + * 商铺id */ @PostMapping("/shop/editStore/{id}") R editStore(@RequestBody ShopStoreVO storeVO, @PathVariable("id") Long id); /** * 删除店铺 - * @param id 商铺id + * + * @param id + * 商铺id */ @PostMapping("/shop/deleteStore") R deleteStore(@RequestBody Long[] id); /** * 获取详情 - * @param id 商铺id + * + * @param id + * 商铺id */ @GetMapping("/shop/getStoreInfo") - R getStoreInfo(@RequestParam("id")Long id); - + R getStoreInfo(@RequestParam("id") Long id); /** * 商品列表-分页查询 - * @param pageComShopGoodsDTO 添加数据 + * + * @param pageComShopGoodsDTO + * 添加数据 */ @PostMapping("/shop/pageGoods") R pageGoodsList(@RequestBody PageComShopGoodsDTO pageComShopGoodsDTO); /** * 新增商品 + * * @param addShopGoodsVO * @return */ @@ -1854,37 +2961,46 @@ /** * 编辑商品 + * * @param id * @param addShopGoodsVO * @return */ @PostMapping("/shop/editShopGoods/{id}") - R editShopGoods(@PathVariable("id") Long id,@RequestBody AddShopGoodsVO addShopGoodsVO); + R editShopGoods(@PathVariable("id") Long id, @RequestBody AddShopGoodsVO addShopGoodsVO); /** * 删除商品 + * * @param id * @return */ @PostMapping("/shop/deleteShopGoods") R deleteShopGoods(@RequestBody Long[] id); + /** * 修改商品状态 + * * @param id * @return */ @GetMapping("/shop/changeShopGoodsStatus") - R changeStatus(@RequestParam("id") Long id,@RequestParam("status")Integer status); + R changeStatus(@RequestParam("id") Long id, @RequestParam("status") Integer status); + /** * 结果 - * @param shopOperlog 商城后台操作日志 + * + * @param shopOperlog + * 商城后台操作日志 */ @PostMapping("/shop/addShopOperLog") R addShopOperLog(@RequestBody ShopOperLogVO shopOperlog); /** * 分页查询 商家后台操作日志 - * @param pageDTO 分页数据 + * + * @param pageDTO + * 分页数据 * @return 分页日志 */ @PostMapping("/shop/pageShopOperLog") @@ -1892,290 +3008,362 @@ /** * 订单分页查询 - * @param pageComShopOrderSearchDTO 分页数据 + * + * @param pageComShopOrderSearchDTO + * 分页数据 * @return 订单分页查询 */ @PostMapping("/shop/order/page") R pageShopOrder(@RequestBody PageComShopOrderSearchDTO pageComShopOrderSearchDTO); + /** * 分页查询店铺列表 - * @param comShopStoreDTO 请求参数 - * @return 店铺列表 + * + * @param comShopStoreDTO + * 请求参数 + * @return 店铺列表 */ @PostMapping("/shop/pageShopStore") R pageShopStore(@RequestBody PageComShopStoreDTO comShopStoreDTO); /** * 根据id查询店铺详情 - * @param comShopStoreDTO 请求参数 - * @return 店铺详情 + * + * @param comShopStoreDTO + * 请求参数 + * @return 店铺详情 */ @PostMapping("/shop/shopStoreDetail") R shopStoreDetail(@RequestBody PageComShopStoreDTO comShopStoreDTO); /** * 分页查询商品列表 - * @param comShopGoodsDTO 请求参数 - * @return 商品列表 + * + * @param comShopGoodsDTO + * 请求参数 + * @return 商品列表 */ @PostMapping("/shop/pageShopGoods") R pageShopGoods(@RequestBody ComShopGoodsDTO comShopGoodsDTO); /** * 根据商品id查询商品信息 - * @param goodsId 商品id - * @return 商品信息 + * + * @param goodsId + * 商品id + * @return 商品信息 */ @PostMapping("/shop/shopGoodsDetail") R shopGoodsDetail(@RequestParam("goodsId") Long goodsId); /** * 查询用户购物车列表 - * @param userId 用户id - * @return 购物车列表 + * + * @param userId + * 用户id + * @return 购物车列表 */ @PostMapping("/shop/shopCartList") R shopCartList(@RequestParam("userId") Long userId); /** * 查询用户购物车数量 - * @param userId 用户id - * @return 用户购物车商品数量 + * + * @param userId + * 用户id + * @return 用户购物车商品数量 */ @PostMapping("/shop/shopCartUserTotal") R shopCartUserTotal(@RequestParam("userId") Long userId); /** * 购物车添加 - * @param comShopCartDTO 请求参数 - * @return 购物车列表 + * + * @param comShopCartDTO + * 请求参数 + * @return 购物车列表 */ @PostMapping("/shop/shopAddCart") R shopAddCart(@RequestBody ComShopCartDTO comShopCartDTO); /** * 购物车内商品数量修改 - * @param shopEditNubCartDTO 请求参数 - * @return 修改结果 + * + * @param shopEditNubCartDTO + * 请求参数 + * @return 修改结果 */ @PostMapping("/shop/shopEditNubCart") R shopEditNubCart(@RequestBody ComShopEditNubCartDTO shopEditNubCartDTO); /** * 删除购物车记录 - * @param Ids 购物车id集合 - * @return 删除结果 + * + * @param Ids + * 购物车id集合 + * @return 删除结果 */ @PostMapping("/shop/shopDelCart") R shopDelCart(@RequestBody List<Long> Ids); /** * 分页查询用户收货地址列表 - * @param comShopAddressDTO 请求参数 - * @return 用户收货地址列表 + * + * @param comShopAddressDTO + * 请求参数 + * @return 用户收货地址列表 */ @PostMapping("/shop/shopUserAddressList") R shopUserAddressList(@RequestBody PageComShopAddressDTO comShopAddressDTO); /** * 用户添加收货地址 - * @param comShopAddressDTO 请求参数 - * @return 添加结果 + * + * @param comShopAddressDTO + * 请求参数 + * @return 添加结果 */ @PostMapping("/shop/shopAddUserAddress") R shopAddUserAddress(@RequestBody ComShopAddressDTO comShopAddressDTO); /** * 用户修改收货地址 - * @param comShopAddressDTO 请求参数 - * @return 修改结果 + * + * @param comShopAddressDTO + * 请求参数 + * @return 修改结果 */ @PostMapping("/shop/shopEditUserAddress") R shopEditUserAddress(@RequestBody ComShopAddressDTO comShopAddressDTO); /** * 用户删除收货地址 - * @param addressId 收货地址id - * @return 删除结果 + * + * @param addressId + * 收货地址id + * @return 删除结果 */ @PostMapping("/shop/shopDelUserAddress") R shopDelUserAddress(@RequestParam("addressId") Long addressId); /** * 订单预览 - * @param orderPreviewDTO 请求参数 - * @return 订单预览数据 + * + * @param orderPreviewDTO + * 请求参数 + * @return 订单预览数据 */ @PostMapping("/shop/orderPreview") R orderPreview(@RequestBody ComShopOrderPreviewDTO orderPreviewDTO); /** * 创建订单 - * @param orderCreateDTO 创建订单请求参数 - * @return 创建结果 + * + * @param orderCreateDTO + * 创建订单请求参数 + * @return 创建结果 */ @PostMapping("/shop/orderCreate") R orderCreate(@RequestBody ComShopOrderCreateDTO orderCreateDTO); /** * 分页查询用户订单列表 - * @param comOrderListDTO 请求参数 - * @return 查询结果 + * + * @param comOrderListDTO + * 请求参数 + * @return 查询结果 */ @PostMapping("/shop/pageOrderList") R pageOrderList(@RequestBody PageComOrderListDTO comOrderListDTO); /** * 根据订单id查询订单详情 - * @param orderId 订单id - * @return 订单详情 + * + * @param orderId + * 订单id + * @return 订单详情 */ @PostMapping("/shop/orderDetail") R orderDetail(@RequestParam("orderId") Long orderId); /** * 根据订单id取消订单 - * @param comShopOrderQueryDTO 请求参数 - * @return 取消结果 + * + * @param comShopOrderQueryDTO + * 请求参数 + * @return 取消结果 */ @PostMapping("/shop/orderCancel") R orderCancel(@RequestBody ComShopOrderQueryDTO comShopOrderQueryDTO); /** * 根据订单id删除订单 - * @param orderId 订单id - * @return 删除结果 + * + * @param orderId + * 订单id + * @return 删除结果 */ @PostMapping("/shop/orderDelete") R orderDelete(@RequestParam("orderId") Long orderId); /** * 根据订单id确认收货 - * @param comShopOrderQueryDTO 请求参数 - * @return 确认结果 + * + * @param comShopOrderQueryDTO + * 请求参数 + * @return 确认结果 */ @PostMapping("/shop/orderConfirm") R orderConfirm(@RequestBody ComShopOrderQueryDTO comShopOrderQueryDTO); /** * 统计用户订单数量 - * @param userId 用户id - * @return 统计结果 + * + * @param userId + * 用户id + * @return 统计结果 */ @PostMapping("/shop/orderStatistics") R orderStatistics(@RequestParam("userId") Long userId); /** * 商家资金的订单详情 + * * @param id * @return */ @GetMapping("/shop/capitalDetailByStore") R capitalDetailByStore(@RequestParam("id") Long id); - /** * 订单发货 - * @param orderShipDTO 商城订单发货信息 - * @return 发货结果 + * + * @param orderShipDTO + * 商城订单发货信息 + * @return 发货结果 */ @PostMapping("/shop/shipOrder") R shipOrder(@RequestBody ComShopOrderShipDTO orderShipDTO); /** * 订单配送 - * @param deliverDTO 订单信息 - * @return 配送结果 + * + * @param deliverDTO + * 订单信息 + * @return 配送结果 */ @PostMapping("/shop/deliverOrder") R deliverOrder(@RequestBody ComShopOrderDeliverDTO deliverDTO); /** * 订单完成配送 - * @param deliverDTO 订单信息 - * @return 配送完成结果 + * + * @param deliverDTO + * 订单信息 + * @return 配送完成结果 */ @PostMapping("/shop/finishDeliverOrder") R finishDeliverOrder(@RequestBody ComShopOrderDeliverDTO deliverDTO); /** * 获取用户商户详情 - * @param userId 用户ID + * + * @param userId + * 用户ID */ @GetMapping("/shop/getUserStoreInfo") R getUserStoreInfo(@RequestParam("userId") Long userId); /** * 获取用户商户详情 - * @param account 用户账号 + * + * @param account + * 用户账号 */ @GetMapping("/shop/getUserStoreInfoByAccount") R<ShopStoreVO> getUserStoreInfoByAccount(@RequestParam("account") String account); /** * 订单导出信息 - * @param comShopOrderExportDTO 订单导出信息 - * @return 订单导出信息 + * + * @param comShopOrderExportDTO + * 订单导出信息 + * @return 订单导出信息 */ @PostMapping("/shop/shopOrderExportData") R shopOrderExportData(@RequestBody ComShopOrderExportDTO comShopOrderExportDTO); /** * 资金管理导出信息 - * @param comShopFundsExportDTO 资金管理导出信息 - * @return 资金管理导出信息 + * + * @param comShopFundsExportDTO + * 资金管理导出信息 + * @return 资金管理导出信息 */ @PostMapping("/shop/shopOrderFundsExportData") - R shopOrderFundsExportData(@RequestBody ComShopFundsExportDTO comShopFundsExportDTO ); + R shopOrderFundsExportData(@RequestBody ComShopFundsExportDTO comShopFundsExportDTO); /** * 店铺资金统计信息 - * @param userId 用户ID - * @return 店铺资金统计信息 + * + * @param userId + * 用户ID + * @return 店铺资金统计信息 */ @GetMapping("/shop/getFundsStat") R getFundsStat(@RequestParam("userId") Long userId); /** * 店铺资金统计信息 - * @param pageComShopFundsSearchDTO 店铺资金 - * @return 店铺资金统计信息 + * + * @param pageComShopFundsSearchDTO + * 店铺资金 + * @return 店铺资金统计信息 */ @PostMapping("/shop/pageShopFunds") R pageShopFunds(@RequestBody PageComShopFundsSearchDTO pageComShopFundsSearchDTO); /** * 微信支付订单回调 - * @param wxPayNotifyOrderDTO 订单支付回调参数 + * + * @param wxPayNotifyOrderDTO + * 订单支付回调参数 */ @PostMapping("/shop/wxOrderPayNotify") void wxOrderPayNotify(@RequestBody WxPayNotifyOrderDTO wxPayNotifyOrderDTO); /** * 点击去支付订单 - * @param orderPayDTO 请求参数 - * @return 支付对象 + * + * @param orderPayDTO + * 请求参数 + * @return 支付对象 */ @PostMapping("/shop/wxPay") R wxPay(@RequestBody OrderPayDTO orderPayDTO); /** * 编辑实有人口 - * @param editComMngPopulationVO + * + * @param populationEditDTO * @return */ @PostMapping("/common/data/population/edit") - R editPopulation(@RequestBody EditComMngPopulationVO editComMngPopulationVO, @RequestParam("communityId") Long communityId); + R editPopulation(@RequestBody ComMngPopulationEditDTO populationEditDTO, + @RequestParam("communityId") Long communityId); /** * 微心愿删除 - * @param id 微心愿id + * + * @param id + * 微心愿id */ @PostMapping("deletemicrowish") - R deletemicrowish(@RequestParam("id")Long id); + R deletemicrowish(@RequestParam("id") Long id); /** * 基础数据》特殊群体》分页查询 + * * @param pageInputUserDTO * @return */ @@ -2184,39 +3372,47 @@ /** * 删除特殊群体人员 - * @param id 特殊群体id - * @return 删除结果 + * + * @param id + * 特殊群体id + * @return 删除结果 */ @PostMapping("common/data/special/delete") - R deleteSpecialInputUser(@RequestParam(value = "id") Long id); - + R deleteSpecialInputUser(@RequestParam(value = "id") Long id,@RequestParam("communityId") Long communityId); /** * 办事指南_新增 - * @param workGuideVO 新增信息 + * + * @param workGuideVO + * 新增信息 * @return 新增结果 */ @PostMapping("/addworkguide") - R addWorkGuide(@RequestBody ComActWorkGuideVO workGuideVO, @RequestParam("userId")Long userId); + R addWorkGuide(@RequestBody ComActWorkGuideVO workGuideVO, @RequestParam("userId") Long userId); /** * 办事指南_编辑 + * * @param workGuideVO * @return 编辑结果 */ @PostMapping("/editworkguide") - R editWorkGuide(@RequestBody ComActWorkGuideVO workGuideVO, @RequestParam("userId")Long userId); + R editWorkGuide(@RequestBody ComActWorkGuideVO workGuideVO, @RequestParam("userId") Long userId); /** * 办事指南_详情 + * * @param workGuideId * @return 详情 */ @GetMapping("/detailworkguide") - R detailWorkGuide(@RequestParam("workGuideId")Long workGuideId); + R detailWorkGuide(@RequestParam("workGuideId") Long workGuideId, @RequestParam("communityId") Long communityId); + /** * 办事指南_分页 - * @param pageActWorkGuideDTO 查询参数 + * + * @param pageActWorkGuideDTO + * 查询参数 * @return 分页集合 */ @PostMapping("/pageworkguide") @@ -2224,10 +3420,6868 @@ /** * 办事指南_删除 - * @param workGuideId 办事指南id + * + * @param workGuideId + * 办事指南id * @return 删除结果 */ @PostMapping("/delectworkguide") R delectWorkGuide(@RequestParam("workGuideId") Long workGuideId); + /** + * 分页查询办事指南-分类管理 pageWorkGuideClassify 分页查询办事指南-分类管理 + * @param comActWorkGuideClassifyVO 查询参数 + * @return R 返回结果 + * @author txb + * @date 2021/8/31 15:03 + */ + @PostMapping("/workGuide/classify/apage") + R pageWorkGuideClassify(@RequestBody ComActWorkGuideClassifyVO comActWorkGuideClassifyVO); + + /** + * 办事指南-分类管理新增或修改 addWorkGuideClassify 办事指南-分类管理新增或修改 + * @param comActWorkGuideClassifyVO 新增或修改参数 + * @return R 返回结果 + * @author txb + * @date 2021/8/31 15:03 + */ + @PostMapping("/workGuide/classify/add") + R addWorkGuideClassify(@RequestBody ComActWorkGuideClassifyVO comActWorkGuideClassifyVO); + + /** + * 办事指南-分类管理删除 deleteWorkGuideClassify 办事指南-分类管理删除 + * @param workGuideClassifyId 办事指南-分类管理id + * @return R 返回结果 + * @author txb + * @date 2021/8/31 15:03 + */ + @GetMapping("/workGuide/classify/delete") + R deleteWorkGuideClassify(@RequestParam("workGuideClassifyId") Long workGuideClassifyId); + + /** + * 办事指南-分类管理列表查询 getWorkGuideClassifyList 办事指南-分类管理列表查询 + * @return R 返回结果 + * @author txb + * @date 2021/8/31 15:03 + */ + @GetMapping("/workGuide/classify/getList") + R getWorkGuideClassifyList(@RequestParam("areaCode")String areaCode); + + /** + * 分页查询邻里圈 + * + * @param neighborCircleAppDTO + * 请求参数 + * @return 邻里圈列表 + */ + @PostMapping("/neighbor/pageNeighborByApp") + R pageNeighborByApp(@RequestBody ComActNeighborCircleAppDTO neighborCircleAppDTO); + + /** + * 用户发布邻里圈审核 + * + * @param addNeighborCircleAppDTO + * 邻里圈请求参数 + * @return 发布结果 + */ + @PostMapping("/neighbor/addNeighborByApp") + R addNeighborByApp(@RequestBody AddComActNeighborCircleAppDTO addNeighborCircleAppDTO); + + /** + * 用户查看邻里圈详情 + * + * @param neighborCircleAppDTO + * 请求参数 + * @return 邻里圈详情 + */ + @PostMapping("/neighbor/neighborDetailByApp") + R neighborDetailByApp(@RequestBody ComActNeighborCircleDetailAppDTO neighborCircleAppDTO); + + /** + * 管理后台查询邻里圈列表 + * + * @param comActNeighborCircleAdminDTO + * 请求参数 + * @return 邻里圈列表 + */ + @PostMapping("/neighbor/pageNeighborByAdmin") + R pageNeighborByAdmin(@RequestBody ComActNeighborCircleAdminDTO comActNeighborCircleAdminDTO); + + /** + * 后台修改邻里圈 + * + * @param editNeighborCircleAdminVO + * 请求参数 + */ + @PostMapping("/neighbor/changeStatusByAdmin") + R changeStatusByAdmin(@RequestBody EditNeighborCircleAdminVO editNeighborCircleAdminVO); + + /** + * 邻里圈_后台删除 + * + * @param id + * 邻里圈id + * @return 邻里圈列表 + */ + @PostMapping("/neighbor/deleteByAdmin") + R deleteByAdmin(@RequestParam("id") Long id); + + /** + * 查看邻里圈基础_详情 + * + * @param id + * 邻里圈id + * @return 邻里圈列表 + */ + @GetMapping("/neighbor/detailNeighborByAdmin") + R detailNeighborByAdmin(@RequestParam("id") Long id); + + /** + * 邻里圈的所有评论_分页 + * + * @param dto + * 请求参数 + * @return 评论列表 + */ + @PostMapping("/neighbor/detailNeighborAllCommentByAdmin") + R detailNeighborAllCommentByAdmin(@RequestBody DetailNeighborAllCommentByAdminDTO dto); + + /** + * 评论的状态_修改 + * + * @param vo + * 请求参数 + */ + @PostMapping("/neighbor/changeCommentStatusByAdmin") + R changeCommentStatusByAdmin(@RequestBody ChangeCommentStatusByAdminVO vo); + + /** + * 邻里圈评论_详情 + * + * @param id + * 评论id + */ + @GetMapping("/neighbor/detailNeighborCommentByAdmin") + R detailNeighborCommentByAdmin(@RequestParam("id") Long id); + + /** + * 用户查询邻里圈列表 + * + * @param neighborCircleAppDTO + * 请求参数 + * @return 邻里圈列表 + */ + @PostMapping("/neighbor/neighborExamineByApp") + R neighborExamineByApp(@RequestBody ComActNeighborCircleAppDTO neighborCircleAppDTO); + + /** + * 邻里圈点赞 + * + * @param fabulousAppDTO + * 请求参数 + * @return 点赞结果 + */ + @PostMapping("/neighbor/neighborFabulousByApp") + R neighborFabulousByApp(@RequestBody ComActNeighborFabulousAppDTO fabulousAppDTO); + + /** + * 邻里圈转发 + * + * @param forwardAppDTO + * 请求参数 + * @return 转发结果 + */ + @PostMapping("/neighbor/neighborForwardByApp") + R neighborForwardByApp(@RequestBody ComActNeighborForwardAppDTO forwardAppDTO); + + /** + * 邻里圈评论 + * + * @param commentAppDTO + * 请求参数 + * @return 评论结果 + */ + @PostMapping("/neighbor/neighborCommentByApp") + R neighborCommentByApp(@RequestBody ComActNeighborCommentAppDTO commentAppDTO); + + /** + * 邻里圈回复 + * + * @param replyAppDTO + * 请求参数 + * @return 回复结果 + */ + @PostMapping("/neighbor/neighborReplyByApp") + R neighborReplyByApp(@RequestBody ComActNeighborReplyAppDTO replyAppDTO); + + /** + * 定时任务更新邻里圈近3天评论数/点赞数/浏览量 + * + * @return 执行结果 + */ + @PostMapping("/neighbor/timeTaskCircleFlow") + R timedTaskNeighborCircleRecord(); + + /** + * 邻里圈评论回复_分页 + * + * @param dto + * 参数 + */ + @PostMapping("/neighbor/detailNeighborCommentAllReply") + R detailNeighborCommentAllReply(@RequestBody DetailNeighborCommentReplyByAdminDTO dto); + + /** + * 邻里圈评论回复_基本详情 + * + * @param id + * 参数 + */ + @GetMapping("/neighbor/detailNeighborCommentReply") + R detailNeighborCommentReply(@RequestParam("id") Long id); + + /** + * 评论回复状态_修改 + * + * @param changeStatusReplyVO + * 参数 + */ + @PostMapping("/neighbor/changeCommentReplyStatusByAdmin") + R changeCommentReplyStatusByAdmin(@RequestBody ChangeCommentReplyStatusByAdminVO changeStatusReplyVO); + + /** + * 邻里圈取消点赞 + * + * @param fabulousAppDTO + * 请求参数 + * @return 取消点赞结果 + */ + @PostMapping("/neighbor/neighborFabulousCancelByApp") + R neighborFabulousCancelByApp(@RequestBody ComActNeighborFabulousAppDTO fabulousAppDTO); + + /** + * 添加邻里圈浏览记录 + * + * @param addBrowseAppDTO + * 请求参数 + * @return 返回参数 + */ + @PostMapping("/neighbor/neighborAddBrowseByApp") + R neighborAddBrowseByApp(@RequestBody ComActNeighborAddBrowseAppDTO addBrowseAppDTO); + + /** + * 邻里圈_添加 + * + * @param addNeighborCircleAdminVO + * 参数 + */ + @PostMapping("/neighbor/addNeighborByAdmin") + R addNeighborByAdmin(@RequestBody AddNeighborCircleAdminVO addNeighborCircleAdminVO); + + /** + * 分页查询评论下所有回复 + * + * @param commentReplyAppDTO + * 请求参数 + * @return 回复列表 + */ + @PostMapping("/neighbor/neighborCommentReplyByApp") + R neighborCommentReplyByApp(@RequestBody ComActNeighborCommentReplyAppDTO commentReplyAppDTO); + + /** + * 实有房屋_编辑 + * + * @param villageId + * 实有房屋id + * @param comMngVillageVO + * 请求参数 + * @return + */ + @PostMapping("/editvillage/{villageId}") + R editvillage(@PathVariable("villageId") Long villageId, @RequestBody ComMngVillageVO comMngVillageVO); + + /** + * 商城系统配置 + * + * @param comShopSysConfDTO + * @return + */ + @PostMapping("/shop/conf/edit") + R editShopSysConf(@RequestBody ComShopSysConfDTO comShopSysConfDTO); + + /** + * 商城系统配置查询 + * + * @param pageComShopSysConfDTO + * @return + */ + @PostMapping("/shop/conf/get") + R pageShopSysConf(@RequestBody PageComShopSysConfDTO pageComShopSysConfDTO); + + /** + * 编辑实有人口_电子档案 + * + * @param userElectronicFileVO + * @return + */ + @PostMapping("/common/data/population/edit/electronicArchives") + R editUserElectronicFile(@RequestBody UserElectronicFileVO userElectronicFileVO); + + /** + * 实有人口统计 + * + * @param communityId + * 社区id + * @return 统计结果 + */ + @PostMapping("/common/data/population/statistics") + R getPopulationTotalByAdmin(@RequestParam("communityId") Long communityId); + + /** + * 查询房屋级联菜单 + * + * @param cascadeHouseDTO + * 请求参数 + * @return 菜单列表 + */ + @PostMapping("/common/data/population/cascade/list") + R getCascadeHouseAddress(@RequestBody CascadeHouseDTO cascadeHouseDTO); + + /** + * 分页查询房屋列表 + * + * @param populationHouseAdminDTO + * 请求参数 + * @return 房屋列表 + */ + @PostMapping("/common/data/population/page/house") + R pageHouse(@RequestBody ComMngPopulationHouseAdminDTO populationHouseAdminDTO); + + /** + * 根据id查询实有房屋信息 + * + * @param houseId + * 房屋id + * @return 房屋信息 + */ + @PostMapping("/common/data/population/house/detail") + R getHouseDetail(@RequestParam(value = "houseId") Long houseId); + + /** + * 编辑实有房屋信息 + * + * @param houseEditAdminDTO + * 请求参数 + * @return 编辑结果 + */ + @PostMapping("/common/data/population/house/edit") + R editHouse(@RequestBody ComMngPopulationHouseEditAdminDTO houseEditAdminDTO); + + /** + * 根据房屋id列表删除房屋信息 + * + * @param Ids + * 请求参数 + * @return 删除结果 + */ + @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); + + /** + * 实有房屋统计 + * + * @param communityId + * 社区id + * @return 统计结果 + */ + @PostMapping("/common/data/population/house/statistics") + R getHouseTotalByAdmin(@RequestParam("communityId") Long communityId); + + /** + * 根据社区id查询社区所有省市区 + * + * @param communityId + * 社区id + * @return 社区所在省市区 + */ + @PostMapping("/common/data/village/getRegion") + R getRegion(@RequestParam("communityId") Long communityId); + + /** + * 统计社区内小区数量 + * + * @param communityId + * 社区id + * @return 统计小区数量 + */ + @PostMapping("/common/data/village/statistics") + R villageStatistics(@RequestParam("communityId") Long communityId); + + /** + * 小区详情 + * + * @param villageId + * 小区id + * @return 小区详情 + */ + @PostMapping("/village/getVillage") + R getVillage(@RequestParam("villageId") Long villageId); + + /** + * 新增高龄认证 + * + * @param eldersAuthAddDTO + * @return 新增结果 + */ + @PostMapping("/eldersauth/add") + R add(@RequestBody EldersAuthAddDTO eldersAuthAddDTO); + + /** + * 修改高龄认证 + * + * @param eldersAuthEditDTO + * @return 维护结果 + */ + @PostMapping("/eldersauth/edit") + R edit(@RequestBody EldersAuthEditDTO eldersAuthEditDTO); + + /** + * 分页查找高龄认证 + * + * @param pageEldersAuthDTO + * @return 维护结果 + */ + @PostMapping("/eldersauth/page") + R query(@RequestBody PageEldersAuthDTO pageEldersAuthDTO); + + /** + * 删除高龄认证 + * + * @param eldersAuthDeleteDTO + * @return 平台用户信息 + */ + @PostMapping("/eldersauth/delete") + R delete(@RequestBody EldersAuthDeleteDTO eldersAuthDeleteDTO); + + /** + * 查询高龄认证详细信息 + * + * @param id + * 高龄认证 id + * @return 查找结果 + */ + @PostMapping("/eldersauth/{id}") + R<EldersAuthDetailsVO> eldersAuthDetails(@PathVariable("id") Long id); + + /** + * 获取用户家庭成员 + * + * @param userId + * 用户ID + * @return + */ + @PostMapping("/eldersauth/getMyfamilyElders/{userId}") + R getMyfamilyElders(@PathVariable("userId") Long userId); + + /** + * 查询导出高龄老人 + * + * @param pageEldersAuthDTO + * @return + */ + @PostMapping("/eldersauth/eldersAuthQuery") + R eldersAuthQuery(@RequestBody PageEldersAuthDTO pageEldersAuthDTO); + + /** + * 通过家庭成员ID添加 + * + * @param eldersAuthAddByFamilyDTO + * 添加信息 + * @return + */ + @PostMapping("/eldersauth/addByFamilyUser") + R addByFamilyUser(@RequestBody EldersAuthAddByFamilyDTO eldersAuthAddByFamilyDTO); + + /** + * 添加高龄认证反馈 + * + * @param eldersAuthFeedbackAddDTO + * @return + */ + @PostMapping("/eldersauth/addFeedback") + R addFeedback(@RequestBody EldersAuthFeedbackAddDTO eldersAuthFeedbackAddDTO); + + //2021-8-30 身份认证改版(高龄老人认证管理)接口 + /** + * 分页查询高龄老人认证记录 pageElderAuthRecords 分页查询高龄老人认证记录 + * @param pageElderAuthRecordsDTO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/authRecords/page") + R pageElderAuthRecords(@RequestBody PageElderAuthRecordsDTO pageElderAuthRecordsDTO); + + /** + * 根据高龄认证记录id查询详情 detailElderAuthRecords 根据高龄认证记录id查询详情 + * @param authRecordId 高龄认证记录id + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @GetMapping("/elders/authRecords/detail") + R detailElderAuthRecords(@RequestParam(value = "authRecordId") Long authRecordId); + + /** + * 高龄认证审核 examineElderAuthRecords 高龄认证审核 + * @param comElderAuthRecordVO 高龄认证审核参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/authRecords/examine") + R examineElderAuthRecords(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO); + + /** + * 高龄认证标记 examineElderAuthRecords 高龄认证标记 + * @param comElderAuthRecordVO 高龄认证标记参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/authRecords/sign") + R signElderAuthRecords(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO); + + /** + * 根据高龄认证记录id批量查询 getElderAuthRecordsByIds 根据高龄认证记录id批量查询 + * @param ids 高龄认证记录id集合 + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/authRecords/getList") + R getElderAuthRecordsByIds(@RequestBody List<Long> ids); + + /** + * 导出高龄认证统计记录 exportElderAuthRecordsStatistic + * @param pageElderAuthRecordsDTO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/authRecords/statistic/export") + 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 查询结果 + * @author txb + * @date 2021/9/07 14:03 + */ + @PostMapping("/elders/pensionAuthRecords/page") + R pagePensionAuthRecords(@RequestBody PageElderAuthRecordsDTO pageElderAuthRecordsDTO); + + /** + * 根据养老认证记录id查询详情 detailPensionAuthRecords 根据养老认证记录id查询详情 + * @param authRecordId 养老认证记录id + * @return R 查询结果 + * @author txb + * @date 2021/9/07 11:03 + */ + @GetMapping("/elders/pensionAuthRecords/detail") + R detailPensionAuthRecords(@RequestParam(value = "authRecordId") Long authRecordId); + + /** + * 养老认证审核 examinePensionAuthRecords 养老认证审核 + * @param comPensionAuthRecordVO 养老认证审核参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/07 11:03 + */ + @PostMapping("/elders/pensionAuthRecords/examine") + R examinePensionAuthRecords(@RequestBody ComPensionAuthRecordVO comPensionAuthRecordVO); + + /** + * 养老认证标记 signPensionAuthRecords 养老认证标记 + * @param comPensionAuthRecordVO 养老认证标记参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/pensionAuthRecords/sign") + R signPensionAuthRecords(@RequestBody ComPensionAuthRecordVO comPensionAuthRecordVO); + + /** + * 根据养老认证记录id批量查询 getPensionAuthRecordsByIds 根据养老认证记录id批量查询 + * @param ids 养老认证记录id集合 + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/pensionAuthRecords/getList") + R getPensionAuthRecordsByIds(@RequestBody List<Long> ids); + + /** + * 导出养老认证记录 exportPensionAuthRecordsStatistic 导出养老认证记录 + * @param pageElderAuthRecordsDTO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/02 11:03 + */ + @PostMapping("/elders/pensionAuthRecords/statistic/export") + R exportPensionAuthRecordsStatistic(@RequestBody PageElderAuthRecordsDTO pageElderAuthRecordsDTO); + + /** + * 查询养老认证社区认证方式 setPensionAuthType 查询养老认证社区认证方式 + * @param eldersAuthTypeQueryDTO 查询参数 + * @return R 查询结果 + * @author txb + * @date 2021/9/10 16:03 + */ + @PostMapping("/elders/pensionAuthRecords/authtype") + R communityPensionAuthType(@RequestBody EldersAuthTypeQueryDTO eldersAuthTypeQueryDTO); + + /** + * 设置当前社区养老认证方式:核验类型(1.视频认证 2.人脸核验) setPensionAuthType 设置当前社区养老认证方式:核验类型(1.视频认证 2.人脸核验) + * @param communityId 社区id + * @param type 检验类型 + * @return R 设置结果 + * @author txb + * @date 2021/9/10 16:03 + */ + @PutMapping("/elders/pensionAuthRecords/authType/{type}") + R setPensionAuthType(@RequestParam("communityId") Long communityId, @RequestParam("type") Integer type); + + /** + * 小程序-查询疫苗分类列表 + * + * @return 疫苗分类列表 + */ + @PostMapping("/vaccines/app/list") + R getVaccinesListByApp(); + + /** + * 小程序-疫苗类型对应家庭成员接种列表 + * + * @return 疫苗类型对应家庭成员接种列表 + */ + @PostMapping("/vaccines/app/user/list") + R getVaccinesUserListByApp(@RequestBody VaccinesEnrollUserByAppDTO enrollUserByAppDTO); + + /** + * 小程序-报名疫苗 + * + * @param enrollByAppDTO + * 请求参数 + * @return 报名结果 + */ + @PostMapping("/vaccines/app/enroll") + R VaccinesEnrollByApp(@RequestBody VaccinesEnrollByAppDTO enrollByAppDTO); + + /** + * 小程序-查询用户家庭成员接种记录 + * + * @param userId + * 用户id + * @return 用户家庭成员接种记录 + */ + @PostMapping("/vaccines/app/user/inoculation/list") + R getVaccinesUserInoculationListByApp(@RequestParam("userId") Long userId); + + /** + * 后台管理-查询疫苗分类列表 + * + * @param vaccinesByAdminDTO + * 请求参数 + * @return 疫苗分类列表 + */ + @PostMapping("/vaccines/admin/list") + R getVaccinesListByAdmin(@RequestBody VaccinesByAdminDTO vaccinesByAdminDTO); + + /** + * 修改疫苗分类信息 + * + * @param vaccinesByAdminDTO + * 请求参数 + * @return 修改结果 + */ + @PostMapping("/vaccines/admin/edit") + R editVaccinesByAdmin(@RequestBody VaccinesByAdminDTO vaccinesByAdminDTO); + + /** + * 新增疫苗分类信息 + * + * @param vaccinesByAdminDTO + * 请求参数 + * @return 新增结果 + */ + @PostMapping("/vaccines/admin/add") + R addVaccinesByAdmin(@RequestBody VaccinesByAdminDTO vaccinesByAdminDTO); + + /** + * 查询疫苗登记列表 + * + * @param vaccinesByAdminDTO + * 请求参数 + * @return 登记列表 + */ + @PostMapping("/vaccines/admin/enroll/list") + R getVaccinesEnrollListByAdmin(@RequestBody VaccinesEnrollByAdminDTO vaccinesByAdminDTO); + + /** + * 删除疫苗分类信息 + * + * @param id + * 疫苗分类id + * @return 删除结果 + */ + @PostMapping("/vaccines/admin/enroll/delete") + R deleteVaccinesByAdmin(@RequestParam("id") Long id); + + /** + * 根据条件导出登记列表 + * + * @param vaccinesByAdminDTO + * 请求参数 + * @return 登记列表 + */ + @PostMapping("/vaccines/admin/enroll/export") + R exportVaccinesEnrollListByAdmin(@RequestBody VaccinesEnrollByAdminDTO vaccinesByAdminDTO); + + /** + * 查询接种记录列表 + * + * @param inoculationByAdminDTO + * 请求参数 + * @return 接种记录列表 + */ + @PostMapping("/vaccines/admin/inoculation/list") + R getVaccinesInoculationListByAdmin(@RequestBody VaccinesInoculationByAdminDTO inoculationByAdminDTO); + + /** + * 接种记录信息导出 + * + * @param inoculationByAdminDTO + * 请求参数 + * @return 导出结果 + */ + @PostMapping("/vaccines/admin/inoculation/export") + R exportVaccinesInoculationListByAdmin(@RequestBody VaccinesInoculationByAdminDTO inoculationByAdminDTO); + + /** + * 查询疫苗分类列表 + * + * @return 疫苗分类列表 + */ + @PostMapping("/vaccines/admin/enroll/type/list") + R getEnrollTypeListByAdmin(); + + /** + * 查询老龄认证记录 + * + * @param pageComEldersRecordsDTO + * @return + */ + @PostMapping("/elders/records") + R queryEldersRecord(@RequestBody PageComEldersRecordsDTO pageComEldersRecordsDTO); + + /** + * 查询老龄认证记录详细 + * + * @param id + * @return + */ + @PostMapping("/elders/records/deatils") + R<ComEldersAuthElderlyDetailsVO> comEldersAuthElderlyDetails(@RequestParam("id") Long id); + + /** + * 查询老龄认证社区认证方式 + * + * @param eldersAuthTypeQueryDTO + * @return + */ + @PostMapping("/elders/authType") + R communityElderAuthType(@RequestBody EldersAuthTypeQueryDTO eldersAuthTypeQueryDTO); + + /** + * 分页查询高领老人列表 + * + * @param pageEldersAuthElderlyDTO + * @return + */ + @PostMapping("/eldersauthelderly/page") + R pageQueryEldersAuthElderly(@RequestBody PageEldersAuthElderlyDTO pageEldersAuthElderlyDTO); + + /** + * 批量保存高龄老人 + * + * @param newVoList + * @param communityId + * @return + */ + @PostMapping("/eldersauthelderly/batchSave") + R listSaveEldersAuthElderlyExcelVO(@RequestBody List<EldersAuthElderlyExcelVO> newVoList, + @RequestParam("communityId") Long communityId, @RequestParam("createBy") Long createBy); + + /** + * 批量保存楼栋 + * + * @param newVoList + * @param communityId + * @return + */ + @PostMapping("/building/batchSave") + R listSaveBuildingExcelVO(@RequestBody List<ComMngBuildingExcelVO> newVoList, + @RequestParam("communityId") Long communityId); + + /** + * 插入字典 + * + * @param dictionaryVO + * 字典数据 + * @return R 是否保存成功 + * @author manailin + * @date 2021/6/10 17:00 + */ + @PostMapping("/dictionary/insertDiction") + R insertDiction(@RequestBody DictionaryVO dictionaryVO); + + /** + * 插入字典项 + * + * @param dictionaryVO + * 字典数据 + * @return R 是否保存成功 + * @author manailin + * @date 2021/6/10 17:00 + */ + @PostMapping("/dictionary/insertDictionItem") + R insertDictionItem(@RequestBody BcDictionaryVO dictionaryVO); + + /** + * 根据字典key查询字典项 + * + * @param key + * @return + */ + @GetMapping("/dictionary/listDictionaryByKey") + R<List<BcDictionaryVO>> listDictionaryByKey(@RequestParam("key") String key); + + /** + * description 根据字典code查询自典项 + * + * @param code + * 入参参数 + * @return BcDictionaryVO 字典 + * @author manailin + * @date 2021/6/10 17:00 + */ + @GetMapping("/dictionary/getByCode") + BcDictionaryItemVO getByCode(@RequestParam("dictId") String dictId, @RequestParam("code") String code); + + /** + * 查看高龄老人详情 + * + * @param id + * @return + */ + @GetMapping("/eldersauthelderly/{id}") + R getEldersAuthElderlyById(@PathVariable("id") Long id); + + /** + * 修改高龄老人信息 + * + * @param eldersAuthElderlyDTO + * @return + */ + @PostMapping("/eldersauthelderly/update") + R updateEldersAuthElderly(@RequestBody EldersAuthElderlyDTO eldersAuthElderlyDTO); + + /** + * 删除高领老人 + * + * @param id + * @return + */ + @PostMapping("/eldersauthelderly/delete") + R deleteEldersAuthElderly(@RequestParam("id") Long id); + + /** + * 通过老人用户id获取老人信息 + * + * @param authUserId + * 老人用户id + * @return 老人信息 + */ + @PostMapping("/elders/getAuth") + R getEldersAuthUserByApp(@RequestParam("authUserId") Long authUserId); + + /** + * 人脸核验新增高龄认证记录 + * + * @param authGetResultDTO + * 请求参数 + * @return 新增结果 + */ + @PostMapping("/elders/add/auth") + R addEldersAuthByApp(@RequestBody ComEldersAuthGetResultDTO authGetResultDTO); + + /** + * 高龄认证分页接口 + * + * @param authPageDTO + * 请求参数 + * @return 查询结果 + */ + @PostMapping("/elders/page/auth") + R pageEldersByApp(@RequestBody ComEldersAuthPageDTO authPageDTO); + + /** + * 添加高龄老人接口 + * + * @param authUserAddAppDTO + * 请求参数 + * @return 添加结果 + */ + @PostMapping("/elders/add") + R addEldersByApp(@RequestBody ComEldersAuthUserAddAppDTO authUserAddAppDTO); + + /** + * 修改高龄老人接口 + * + * @param authUserAddAppDTO + * 请求参数 + * @return 修改结果 + */ + @PostMapping("/elders/edit") + R editEldersByApp(@RequestBody ComEldersAuthUserAddAppDTO authUserAddAppDTO); + + /** + * 分页查询生存认证记录 + * + * @param pageEldersAuthElderlyDTO + * @return + */ + @PostMapping("/elders/records/page") + R pageQueryEldersAuthRecord(@RequestBody PageEldersAuthRecordDTO pageEldersAuthElderlyDTO); + + /** + * description 批量保存重点人群人员信息 + * + * @param list + * 重点人群信息 + * @return R 保存结果 + * @author manailin + * @date 2021/6/10 17:00 + */ + @PostMapping("/key_person/batch/save") + R saveBatchKeyPerson(@RequestBody List<KeyPersonInfoDTO> list); + + @GetMapping("/screen/population/statistic") + R statistic(@RequestParam("communityId") Long communityId); + + /** + * @param communityId + * @param type + * @return + */ + @PostMapping("/elders/setCommunityAuthType") + R setCommunityAuthType(@RequestParam("communityId") Long communityId, @RequestParam("type") Integer type); + + @PostMapping("/elders/getAuthHistoryList") + R getAuthHistoryList(@RequestBody PageEldersAuthHistoryDTO pageEldersAuthElderlyDTO); + + @PostMapping("/elders/getAuthHistoryExport") + R getAuthHistoryExport(@RequestBody PageEldersAuthHistoryDTO pageEldersAuthElderlyDTO); + + @GetMapping("/screen/work/neighborCircle") + R statisticNeighborCircle(@RequestParam("communityId") Long communityId); + + /** + * 党员党支部统计信息 + * + * @return + */ + @PostMapping("/bigscreen/party/orgmembers") + R bigscreenPartyOrgmembers(@RequestBody PageBigScreenStatisticPartyOrg pageBigScreenStatisticPartyOrg); + + /** + * 党员年龄占比、男女占比 + * + * @return + */ + @PostMapping("/bigscreen/party/ageGender") + R<BigScreenStatisticAgeGender> + ageGender(@RequestBody BigScreenStatisticAgeGenderDTO bigScreenStatisticAgeGenderDTO); + + /** + * 党建数据概览 + * + * @return + */ + @PostMapping("/bigscreen/party/partybuild/{communityId}") + R<BigScreenStatisticPartyBuild> bigscreenPartybuild(@PathVariable("communityId") Long communityId); + + /** + * 党员活动参加用户排行榜-TOP3 + * + * @return + */ + @PostMapping("/bigscreen/party/activitytopuser/{communityId}") + R<List<PartyBuildingMemberVO>> bigscreenPartyactivitytopuser(@PathVariable("communityId") Long communityId); + + /** + * 党员活动 + * + * @return + */ + @PostMapping("/bigscreen/party/bigscreenPartyactivity") + R<List<BigScreenStatisticPartyActivity>> + bigscreenPartyactivity(BigScreenStatisticPartyActivityDTO bigScreenStatisticPartyActivityDTO); + + /** + * 首页大屏统计接口 + * + * @param communityId + * 社区id + * @return 统计结果 + */ + @GetMapping("/screen/getScreenIndex") + R getScreenIndex(@RequestParam("communityId") Long communityId); + + /** + * 事件大屏统计接口 + * + * @param screenEventDTO + * 请求参数 + * @return 统计结果 + */ + @PostMapping("/screen/getScreenEvent") + R getScreenEvent(@RequestBody BigScreenEventDTO screenEventDTO); + + /** + * 民生大屏统计接口 + * + * @param communityId + * 社区id + * @return 统计结果 + */ + @GetMapping("/screen/getScreenCivil") + R getScreenCivil(@RequestParam("communityId") Long communityId); + + /** + * 大屏统计邻里圈 + */ + @GetMapping("/screen/work/wish") + R wish(@RequestParam("communityId") Long communityId); + + /** + * 大屏统计社区-活动 + * + * @param communityId + * @return + */ + @GetMapping("/screen/work/activity") + R activity(@RequestParam("communityId") Long communityId); + + /** + * 大屏统计议事投票 + * + * @param communityId + * @return + */ + @GetMapping("/screen/work/discuss") + R discuss(@RequestParam("communityId") Long communityId); + + /** + * 大屏统计党建工作 + * + * @param communityId + * @return + */ + @GetMapping("/screen/work/pbWork") + R pbWork(@RequestParam("communityId") Long communityId); + + /** + * 大屏统计随手拍 + * + * @param communityId + * @return + */ + @GetMapping("/screen/work/easyPhoto") + R easyPhoto(@RequestParam("communityId") Long communityId); + + /** + * 大屏统计工作情况 + * + * @param communityId + * @return + */ + @GetMapping("/screen/work/workCount") + R workCount(@RequestParam("communityId") Long communityId); + + /** + * description 批量保存残疾人人员信息 + * + * @param list + * 疾人信息列表 + * @return R 保存结果 + * @author manailin + * @date 2021/6/10 17:00 + */ + @PostMapping("/disable_person/batch/save") + R saveBatchDisabledPersons(@RequestBody List<DisabledPersonsDTO> list); + + /** + * 获取社区网格 + * + * @param communityId + * 社区id + * @return 网格数据 + */ + @GetMapping("/screen/getScreenGirds") + R getScreenGirds(@RequestParam("communityId") Long communityId); + + /** + * 事件大屏查询事件详情 + * + * @param eventDetailDTO + * 请求参数 + * @return 事件详情 + */ + @PostMapping("/screen/getScreenEventDetail") + R getScreenEventDetail(@RequestBody BigScreenEventDetailDTO eventDetailDTO); + + /** + * 工作大屏-议事投票列表 + * + * @param discussListDTO + * 请求参数 + * @return 议事投票列表 + */ + @PostMapping("/screen/work/getScreenDiscussList") + R getScreenDiscussList(@RequestBody ScreenDiscussListDTO discussListDTO); + + /** + * 工作大屏-社区活动列表 + * + * @param actActivityListDTO + * 请求参数 + * @return 活动列表 + */ + @PostMapping("/screen/work/getScreenActActivityList") + R getScreenActActivityList(@RequestBody ScreenActActivityListDTO actActivityListDTO); + + /** + * 工作大屏-社区活动报名人员列表 + * + * @param activityPeopleListDTO + * 请求参数 + * @return 社区活动报名人员列表 + */ + @PostMapping("/screen/work/getActActivityPeopleList") + R getActActivityPeopleList(@RequestBody ScreenActActivityPeopleListDTO activityPeopleListDTO); + + /** + * 工作大屏-微心愿列表 + * + * @param microListDTO + * 请求参数 + * @return 微心愿列表 + */ + @PostMapping("/screen/work/getScreenMicroList") + R getScreenMicroList(@RequestBody ScreenMicroListDTO microListDTO); + + /** + * 获取系统参数接口 + * + * @param code + * 参数code + * @return 系统参数 + */ + @GetMapping("/sys/conf/get") + R getConf(@RequestParam("code") String code); + + /** + * 获取人口数据信息 + * + * @param populationListDTO + * 请求参数 + * @return 人口数据 + */ + @PostMapping("/population/list/app") + R getPopulationListByApp(@RequestBody PagePopulationListDTO populationListDTO); + + /** + * 根据人口id获取人口详情 + * + * @param populationId + * 人口id + * @return 人口详情 + */ + @GetMapping("/population/detail/app") + R getPopulationDetailByApp(@RequestParam("populationId") Long populationId); + + /** + * 修复人口加密问题 + * + * @return 修复结果 + */ + @GetMapping("/population/repair") + R getPopulationRepairByApp(); + + /** + * 工作大屏-社区动态模块数据统计 + * + * @param communityId + * 社区id + * @return 社区动态数据统计 + */ + @GetMapping("/screen/work/dynamic") + R dynamicWork(@RequestParam("communityId") Long communityId); + + /** + * 查询用户钱包信息 + * + * @param walletDetailDTO + * 请求参数 + * @return 用户钱包信息 + */ + @PostMapping("/wallet/get/my") + R getUserWalletDetail(@RequestBody ComActWalletDetailDTO walletDetailDTO); + + /** + * 查询用户收支记录列表 + * + * @param walletTradeDTO + * 请求参数 + * @return 收支记录 + */ + @PostMapping("/wallet/get/trade") + R getUserWalletTrade(@RequestBody PageComActWalletTradeDTO walletTradeDTO); + + /** + * 查询用户绑定的社区收益排行榜 + * + * @param walletTradeDTO + * 请求参数 + * @return 社区收益排行榜 + */ + @PostMapping("/wallet/get/ranking") + R getWalletRanking(@RequestBody PageComActWalletTradeDTO walletTradeDTO); + + /** + * 综治后台-居民列表 + * + * @param populationListDTO + * 请求参数 + * @return 居民列表 + */ + @PostMapping("/population/grid/list") + R getGridPopulationList(@RequestBody ComMngPopulationListDTO populationListDTO); + + /** + * 综治后台-删除居民 + * + * @param ids + * 居民id集合 + * @return 删除结果 + */ + @PostMapping("/population/grid/del") + R delGridPopulation(@RequestBody List<Long> ids); + + /** + * 综治后台-居民详情 + * + * @param populationId + * 居民id + * @return 居民详情 + */ + @GetMapping("/population/grid/get") + R getGridPopulationDetail(@RequestParam("populationId") Long populationId); + + /** + * 综治app-小区列表 + * + * @param villageListAppDTO + * 请求参数 + * @return 小区列表 + */ + @PostMapping("/village/grid/list") + R getGridVillageList(@RequestBody ComMngVillageListAppDTO villageListAppDTO); + + /** + * 综治app-根据小区id查询小区下楼栋列表 + * + * @param villageId + * 小区id + * @return 楼栋列表 + */ + @PostMapping("/village/grid/building/list") + R getGridVillageBuildingList(@RequestParam("villageId") Long villageId); + + /** + * 小区楼栋下房屋列表 + * + * @param buildHouseAppDTO + * 请求参数 + * @return 房屋列表 + */ + @PostMapping("/village/grid/building/house/list") + R getGridVillageBuildingHouseList(@RequestBody PageComMngVillageBuildHouseAppDTO buildHouseAppDTO); + + /** + * 小区楼栋下房屋信息 + * + * @param houseId + * 房屋id + * @return 房屋信息 + */ + @PostMapping("/village/grid/building/house/detail") + R getGridVillageBuildingHouseDetail(@RequestParam("houseId") Long houseId); + + /** + * 查询平台人口列表 + * + * @param populationDTO + * 请求参数 + * @return 人口列表 + */ + @PostMapping("/village/grid/building/house/population/list") + R getBuildingHousePopulationList(@RequestBody PageComMngPopulationDTO populationDTO); + + /** + * 批量向房屋新增人员 + * + * @param housePopulationDTO + * 请求参数 + * @return 添加结果 + */ + @PostMapping("/village/grid/building/house/add/population") + R addBuildingHousePopulation(@RequestBody AddComMngHousePopulationDTO housePopulationDTO); + + /** + * 批量删除房屋内人员 + * + * @param housePopulationDTO + * 请求参数 + * @return 删除结果 + */ + @PostMapping("/village/grid/building/house/del/population") + R delBuildingHousePopulation(@RequestBody DelComMngHousePopulationDTO housePopulationDTO); + + /** + * 综治后台-居民标签栏统计 + * + * @return 居民统计 + */ + @GetMapping("/population/grid/statistics") + R getGridPopulationStatistics(@RequestParam("communityId") Long communityId); + + /** + * 综治后台-居民导出查询居民数据 + * + * @param populationExportDTO + * 请求参数 + * @return 导出结果 + */ + @PostMapping("/population/grid/export") + R getGridPopulationExport(@RequestBody ComMngPopulationExportDTO populationExportDTO); + + /** + * 综治后台-居民管理小区列表 + * + * @param name + * 小区名字 + * @return 小区列表 + */ + @GetMapping("/population/village/relation") + R relationVillage(@RequestParam("name") String name); + + /** + * 综治后台-居民管理-级联列表 + * + * @param subordinateDTO + * 请求参数 + * @return 级联列表 + */ + @PostMapping("/population/subordinate") + R subordinate(@RequestBody ComMngPopulationSubordinateDTO subordinateDTO); + + /** + * 综治后台-居民关联房屋 + * + * @param relationHouseDTO + * 请求参数 + * @return 关联结果 + */ + @PostMapping("/population/relation/house") + R populationRelationHouse(@RequestBody ComMngPopulationRelationHouseDTO relationHouseDTO); + + /** + * 综治后台-批量删除小区 + * + * @param villageIds + * 小区id集合 + * @return 删除结果 + */ + @PostMapping("/village/admin/del") + R delGridVillage(@RequestBody List<Long> villageIds); + + /** + * 综治后台-小区内居民列表 + * + * @param villagePopulationDTO + * 请求参数 + * @return 居民列表 + */ + @PostMapping("/village/admin/population/list") + R getVillagePopulationAdmin(@RequestBody PageComMngVillagePopulationDTO villagePopulationDTO); + + /** + * 综治后台-居民下房屋列表 + * + * @param villagePopulationHouseDTO + * 请求参数 + * @return 房屋列表 + */ + @PostMapping("/village/admin/population/house/list") + R getVillagePopulationHouseAdmin(@RequestBody PageComMngVillagePopulationHouseDTO villagePopulationHouseDTO); + + /** + * 综治后台-小区统计 + * + * @return 小区统计结果 + */ + @GetMapping("/village/admin/statistics") + R getGridVillageStatistics(); + + /** + * 综治后台-小区列表导出 + * + * @param villageListAppDTO + * 请求参数 + * @return 小区列表 + */ + @PostMapping("/village/admin/export") + R getGridVillageListExport(@RequestBody ComMngVillageListExportAdminDTO villageListAppDTO); + + /** + * 社区后台-分页查询随手拍活动列表 + * + * @param pageEasyPhotoActivityDTO + * 请求参数 + * @return 随手拍活动列表 + */ + @PostMapping("/easy/photo/activity/page") + R pageEasyPhotoActivity(@RequestBody PageEasyPhotoActivityDTO pageEasyPhotoActivityDTO); + + /** + * 社区后台-添加随手拍活动 + * + * @param addEasyPhotoActivityDTO + * 请求参数 + * @return 添加结果 + */ + @PostMapping("/easy/photo/activity/add") + R addEasyPhotoActivity(@RequestBody AddEasyPhotoActivityDTO addEasyPhotoActivityDTO); + + /** + * 社区后台-编辑随手拍活动 + * + * @param editEasyPhotoActivityDTO + * 请求参数 + * @return 编辑结果 + */ + @PostMapping("/easy/photo/activity/edit") + R editEasyPhotoActivity(@RequestBody EditEasyPhotoActivityDTO editEasyPhotoActivityDTO); + + /** + * 社区后台-取消随手拍活动 + * + * @param id + * 随手拍活动id + * @return 取消结果 + */ + @GetMapping("/easy/photo/activity/cancel") + R cancelEasyPhotoActivity(@RequestParam("id") Long id); + + /** + * 分页查询随手拍活动下居民参与记录 + * + * @param pageEasyPhotoActivityUserDTO + * 请求参数 + * @return 居民参与记录 + */ + @PostMapping("/easy/photo/activity/page/user") + R pageEasyPhotoActivityUser(@RequestBody PageEasyPhotoActivityUserDTO pageEasyPhotoActivityUserDTO); + + /** + * 随手拍活动定时任务 + * + * @return 执行结果 + */ + @PostMapping("timeTaskEasyPhotoActivity") + R timedTaskEasyPhotoActivity(); + + /** + * 分页查询收益结算列表 + * + * @param pageWalletAdminDTO + * 请求参数 + * @return 收益结算列表 + */ + @PostMapping("/user/wallet/page") + R pageUserWalletAdmin(@RequestBody PageComActWalletAdminDTO pageWalletAdminDTO); + + /** + * 用户结算收益 + * + * @param settlementAdminDTO + * 请求参数 + * @return 结算结果 + */ + @PostMapping("/user/wallet/settlement") + R userWalletSettlementAdmin(@RequestBody ComActWalletSettlementAdminDTO settlementAdminDTO); + + /** + * 分页查询交易记录 + * + * @param pageTradeAdminDTO + * 请求参数 + * @return 交易记录列表 + */ + @PostMapping("/user/wallet/trade/page") + R pageUserWalletTradeAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO); + + /** + * 查询用户交易记录总额 + * + * @param pageTradeAdminDTO + * 请求参数 + * @return 交易记录总额 + */ + @PostMapping("/user/wallet/trade/total") + R getTradeUserTotalWalletTradeAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO); + + /** + * 查询用户导出数据 + * + * @param pageTradeAdminDTO + * 请求参数 + * @return 用户导出数据 + */ + @PostMapping("/user/wallet/trade/export") + R getTradeUserTotalWalletTradeExportAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO); + + /** + * 导出奖励台账数据 + * + * @param pageTradeAdminDTO + * 请求参数 + * @return 奖励台账数据 + */ + @PostMapping("/user/wallet/trade/reward/export") + R getTradeUserTotalJLWalletTradeExportAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO); + + /** + * 查询社区统计数据 + * + * @param pageTradeAdminDTO + * 查询社区统计数据 + * @return 社区统计数据 + */ + @PostMapping("/user/wallet/trade/statistics") + R getTradeUserStatisticsAdmin(@RequestBody PageComActWalletTradeAdminDTO pageTradeAdminDTO); + + /** + * 社区随手拍列表统计 + * + * @param communityId + * 社区id + * @return 统计结果 + */ + @GetMapping("/easyphoto/statistics") + R easyPhotoStatistics(@RequestParam("communityId") Long communityId); + + /** + * 分页查询邻里圈话题列表 + * + * @param circleTopicAdminDTO + * 请求参数 + * @return 邻里圈话题列表 + */ + @PostMapping("/neighbor/pageNeighborTopicByAdmin") + R pageNeighborTopicByAdmin(@RequestBody ComActNeighborCircleTopicAdminDTO circleTopicAdminDTO); + + /** + * 添加邻里圈话题 + * + * @param addCircleTopicAdminDTO + * 请求参数 + * @return 添加结果 + */ + @PostMapping("/neighbor/addNeighborTopicByAdmin") + R addNeighborTopicByAdmin(@RequestBody AddNeighborCircleTopicAdminDTO addCircleTopicAdminDTO); + + /** + * 编辑邻里圈话题 + * + * @param addCircleTopicAdminDTO + * 请求参数 + * @return 编辑结果 + */ + @PostMapping("/neighbor/editNeighborTopicByAdmin") + R editNeighborTopicByAdmin(@RequestBody AddNeighborCircleTopicAdminDTO addCircleTopicAdminDTO); + + /** + * 小程序查询邻里圈话题列表 + * + * 社区id + * @return 邻里圈话题列表 + */ + @GetMapping("/neighbor/getNeighborTopicByApp") + R getNeighborTopicByApp(@RequestParam("name") String name); + + /** + * 删除话题 + * @param id + * @return + */ + @GetMapping("/neighbor/deleteNeighborTopic") + R deleteNeighborTopic(@RequestParam("id") Long id); + + /** + * 综治后台-查询社区列表 + * + * @return 社区列表 + */ + @GetMapping("/eventgrid/community/list") + R getCommunityLists(); + + /** + * 查询西区社区列表 + * + * @return 社区列表 + */ + @GetMapping("/eventgrid/community/westList") + R getWestCommunityLists(@RequestParam("areaCode")String areaCode); + + /** + * 综治app-小区列表 + * @param villageListAppDTO 请求参数 + * @return 小区列表 + */ + @PostMapping("/village/grid/list/app") + R getGridVillageListApp(@RequestBody ComMngVillageListAppDTO villageListAppDTO); + + /** + * 分页查询退役军人列表 + * + * @param comExServicemanDTO + * 请求参数 + * @return 退役军人列表 + */ + @PostMapping("/population/page/exServiceman") + R pageExServiceman(@RequestBody ComExServicemanDTO comExServicemanDTO); + + /** + * 分页查询社区动态分类列表 + * + * @param comActDynTypeDTO + * 请求参数 + * @return 动态分类列表 + */ + @PostMapping("/dyn/type/page") + R pageDynTypeByAdmin(@RequestBody PageComActDynTypeDTO comActDynTypeDTO); + + /** + * 查询社区下所有动态分类列表 + * + * @param comActDynTypeDTO + * 请求参数 + * @return 动态分类列表 + */ + @PostMapping("/dyn/type/list") + R getDynTypeListByAdmin(@RequestBody PageComActDynTypeDTO comActDynTypeDTO); + + /** + * 添加社区动态分类 + * + * @param comActDynTypeDTO + * 请求参数 + * @return 添加结果 + */ + @PostMapping("/dyn/type/add") + R addDynTypeByAdmin(@RequestBody AddComActDynTypeDTO comActDynTypeDTO); + + /** + * 编辑社区动态分类 + * + * @param comActDynTypeDTO + * 请求参数 + * @return 编辑结果 + */ + @PostMapping("/dyn/type/edit") + R editDynTypeByAdmin(@RequestBody EditComActDynTypeDTO comActDynTypeDTO); + + /** + * 删除社区动态分类 + * + * @param ids + * 社区动态分类id集合 + * @return 删除结果 + */ + @PostMapping("/dyn/type/delete") + R deleteDynTypeByAdmin(@RequestBody List<Long> ids); + + /** + * 随手拍发放奖励 + * + * @param grantRewardDTO + * 请求参数 + * @return 发放结果 + */ + @PostMapping("/easyphoto/grantReward") + R grantReward(@RequestBody GrantRewardDTO grantRewardDTO); + + /** + * 获取最新活动和用户最新收益 + * + * @param userId + * 用户id + * @param communityId + * 社区id + * @return 最新活动和用户最新收益 + */ + @PostMapping("/easyphoto/getUserReward") + R getUserReward(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId); + + /** + * 获取首页弹窗接口 + * @param userId + * 用户id + * @param communityId + * 社区id + * @return 首页弹窗接口 + */ + @PostMapping("/easyphoto/getUserRewards") + R getUserRewards(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId); + + /** + * 读取用户随手拍奖励 + * + * @param userId + * 用户id + * @return 读取结果 + */ + @PostMapping("/easyphoto/readUserReward") + R readUserReward(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId); + + /** + * 分页查询巡查记录 + * + * @param comSwPatrolRecordPageDTO + * 查询参数 + * @return 分页集合 + */ + @PostMapping("/patrolRecord/page") + R pagePatrolRecord(@RequestBody ComSwPatrolRecordPageDTO comSwPatrolRecordPageDTO); + + /** + * 新增巡查记录 + * + * @param comSwPatrolRecordAddDTO + * 新增参数 + * @return 新增结果 + */ + @PostMapping("/patrolRecord/addPatrolRecord") + R addPatrolRecord(@RequestBody ComSwPatrolRecordAddDTO comSwPatrolRecordAddDTO); + + /** + * 编辑巡查记录 editPatrolRecord 编辑巡查记录 + * @param comSwPatrolRecordEditDTO 编辑巡查记录参数 + * @return R 编辑结果 + * @author txb + * @date 2021/9/08 17:03 + */ + @PostMapping("/patrolRecord/edit") + R editPatrolRecord(@RequestBody ComSwPatrolRecordEditDTO comSwPatrolRecordEditDTO); + + /** + * 根据巡查记录id查询详情 + * + * @param patrolRecordId + * 巡查记录id + * @return 巡查记录详情查询结果 + */ + @GetMapping("/patrolRecord/detail") + R detailPatrolRecord(@RequestParam("patrolRecordId") Long patrolRecordId); + + /** + * 分页查询安全工作记录 + * + * @param comSwPatrolRecordPageDTO + * 查询参数 + * @return 安全工作记录分页集合 + */ + @PostMapping("/patrolRecord/safetyWorkRecord/page") + R pageSafetyWorkRecord(@RequestBody ComSwPatrolRecordPageDTO comSwPatrolRecordPageDTO); + + /** + * 编辑安全工作记录 editSafetyWork 编辑安全工作记录 + * @param comSwSafetyWorkEditDTO 编辑安全工作记录参数 + * @return R 编辑结果 + * @author txb + * @date 2021/9/08 17:03 + */ + @PostMapping("/patrolRecord/safetyWorkRecord/edit") + R editSafetyWork(@RequestBody ComSwSafetyWorkEditDTO comSwSafetyWorkEditDTO); + + /** + * 根据安全工作记录id查询详情 + * + * @param safetyWorkRecordId + * 安全工作记录 + * @return 安全工作记录详情查询结果 + */ + @GetMapping("/patrolRecord/safetyWorkRecord/detail") + R detailSafetyWorkRecord(@RequestParam(value = "safetyWorkRecordId") Long safetyWorkRecordId, + @RequestParam(value = "communityId", required = false) Long communityId); + + /** + * 根据巡查记录id查询安全工作记录详情 + * + * @param patrolRecordId + * 巡查记录id + * @return 安全工作记录详情查询结果 + */ + @GetMapping("/patrolRecord/safetyWorkRecord/detailByPrId") + R detailSafetyWorkRecordByPrId(@RequestParam(value = "patrolRecordId") Long patrolRecordId, + @RequestParam(value = "communityId", required = false) Long communityId); + + /** + * 分页查询隐患报告 + * + * @param comSwPatrolRecordPageDTO + * 查询参数 + * @return 隐患报告分页集合 + */ + @PostMapping("/patrolRecord/dangerReport/page") + R pageDangerReport(@RequestBody ComSwPatrolRecordPageDTO comSwPatrolRecordPageDTO); + + /** + * 编辑隐患报告 editDangerReport 编辑隐患报告 + * @param comSwDangerReportEditDTO 编辑隐患报告参数 + * @return R 编辑结果 + * @author txb + * @date 2021/9/08 17:03 + */ + @PostMapping("/patrolRecord/dangerReport/edit") + R editDangerReport(@RequestBody ComSwDangerReportEditDTO comSwDangerReportEditDTO); + + /** + * 根据隐患报告id查询详情 + * + * @param dangerReportId + * 隐患报告id + * @return 隐患报告详情查询结果 + */ + @GetMapping("/patrolRecord/dangerReport/detail") + R detailDangerReport(@RequestParam(value = "dangerReportId") Long dangerReportId); + + /** + * 根据巡查记录id查询隐患报告详情 + * + * @param patrolRecordId + * 巡查记录id + * @return 隐患报告详情查询结果 + */ + @GetMapping("/patrolRecord/dangerReport/detailByPrId") + R detailDangerReportByPrId(@RequestParam(value = "patrolRecordId") Long patrolRecordId); + + /** + * 处理隐患报告 + * + * @param comSwDangerReportHandleDTO + * 隐患报告处理参数 + * @return 处理结果 + */ + @PostMapping("/patrolRecord/dangerReport/handle") + R handleDangerReport(@RequestBody ComSwDangerReportHandleDTO comSwDangerReportHandleDTO); + + /** + * 整改隐患报告 + * + * @param comSwDangerReportRectifyDTO + * 隐患报告整改参数 + * @return 整改结果 + */ + @PostMapping("/patrolRecord/dangerReport/rectify") + R rectifyDangerReport(@RequestBody ComSwDangerReportRectifyDTO comSwDangerReportRectifyDTO); + + /** + * 隐患报告台账导出 + * + * @param dangerReportIds + * @return + */ + @PostMapping("/patrolRecord/dangerReport/export") + R exportDangerReport(@RequestBody List<Long> dangerReportIds); + + /** + * 巡查记录统计接口 + * + * @return 统计结果 + */ + @GetMapping("/patrolRecord/statistics") + R patrolRecordStatistics(@RequestParam(value = "communityId") Long communityId); + + /** + * 小程序-查询积分说明 + * + * @return 积分说明 + */ + @GetMapping("/integral/explain/applets") + R getIntegralExplainApplets(); + + /** + * 小程序-用户查询当前社区可领取积分规则列表 + * + * @param userId + * 用户id + * @param communityId + * 社区id + * @return 可领取积分规则列表 + */ + @PostMapping("/integral/receive/applets") + R getIntegralReceiveApplets(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId); + + /** + * 小程序-查询用户积分列表 + * + * @param userId + * 用户id + * @return 用户积分列表 + */ + @PostMapping("/integral/user/list/applets") + R getIntegralUserListApplets(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId); + + /** + * 小程序-查询社区积分账户排行榜 + * + * @param communityRankDTO + * 请求参数 + * @return 社区积分账户排行榜 + */ + @PostMapping("/integral/community/rank/applets") + R getIntegralCommunityRankApplets(@RequestBody ComActIntegralCommunityRankDTO communityRankDTO); + + /** + * 小程序-查询用户社区积分明细 + * + * @param communityTradeDTO + * 请求参数 + * @return 用户社区积分明细 + */ + @PostMapping("/integral/community/trade/applets") + R getIntegralCommunityTradeApplets(@RequestBody ComActIntegralCommunityRankDTO communityTradeDTO); + + /** + * 社区后台-根据社区id查询社区下积分规则列表 + * + * @param integralRuleDTO + * 请求参数 + * @return 社区下积分规则列表 + */ + @PostMapping("/integral/rule/list/admin") + R getIntegralRuleAdminList(@RequestBody PageComActIntegralRuleDTO integralRuleDTO); + + /** + * 社区后台-编辑社区积分规则 + * + * @param integralRuleDTO + * 请求参数 + * @return 编辑结果 + */ + @PostMapping("/integral/rule/edit/admin") + R editIntegralRuleAdmin(@RequestBody EditComActIntegralRuleDTO integralRuleDTO); + + /** + * 社区后台-分页查询社区下积分明细记录 + * + * @param integralRuleDTO + * 请求参数 + * @return 社区下积分明细记录 + */ + @PostMapping("/integral/user/trade/page/admin") + R getIntegralTradeListAdmin(@RequestBody PageComActIntegralTradeDTO integralRuleDTO); + + /** + * 给用户添加积分 + * + * @param integralUserDTO + * 请求参数 + * @return 添加积分结果 + */ + @PostMapping("/integral/user/add/admin") + R addIntegralTradeAdmin(@RequestBody AddComActIntegralUserDTO integralUserDTO); + + /** + * 根据社区活动id查询社区活动报名且未参与人员列表 + * + * @param activityId + * 活动id + * @return 社区活动报名且未参与人员列表 + */ + @PostMapping("/integral/act/activity/admin") + R getTaskActivityPeopleList(@RequestParam("activityId") Long activityId); + + /** + * 分页查询值班表 + * + * @param comSwRotaPageDTO + * 查询参数 + * @return 值班表分页集合 + */ + @PostMapping("/patrolRecord/rota/page") + R pageRota(@RequestBody ComSwRotaPageDTO comSwRotaPageDTO); + + /** + * 根据id查询值班表 + * + * @param rotaId + * 值班表id + * @return 值班表详情 + */ + @GetMapping("/patrolRecord/rota/detail") + R detailRota(@RequestParam("rotaId") Long rotaId); + + /** + * 新增值班表 + * + * @param comSwRotaSaveDTOs + * 新增参数 + * @return 新增结果 + */ + @PostMapping("/patrolRecord/rota/add") + R addRota(@RequestBody List<ComSwRotaSaveDTO> comSwRotaSaveDTOs); + + /** + * 批量删除值班表 + * + * @param rotaIds + * 值班ids + * @return 删除结果 + */ + @PostMapping("/patrolRecord/rota/delete") + R deleteRota(@RequestBody List<Long> rotaIds); + + /** + * 根据日期查询值班人员 + * + * @return 查询结果 + */ + @GetMapping("/patrolRecord/rota/getRotaPersonByDate") + R getRotaPersonByDate(@RequestParam(value = "rotaDate") String rotaDate,@RequestParam("communityId")Long communityId); + + /** + * 根据日期查询值班领导 + * + * @return 查询结果 + */ + @GetMapping("/patrolRecord/rota/getRotaLeaderByDate") + R getRotaLeaderByDate(@RequestParam(value = "rotaDate") String rotaDate,@RequestParam("communityId")Long communityId); + + /** + * 批量导入值班表 + * + * @param list + * 值班表集合 + */ + @PostMapping("/patrolRecord/rota/import") + R listSaveSwRotaExcelVO(@RequestBody List<ComSwRotaExcelVO> list, @RequestParam("communityId") Long communityId); + + /** + * 定时任务检测即将开始的社区活动,并使用订阅消息通知用户 + */ + @PostMapping("timedTaskActivityNotice") + R timedTaskActivityNotice(); + + /** + * 定时任务检测待发布,调研中的问卷调查状态 + */ + @PostMapping("timedTaskQuestionnaire") + R timedTaskQuestionnaire(); + + /** + * 查询社区所有列表 + * + * @return 社区列表 + */ + @GetMapping("/switch/community/all/list") + R communitySwitchList(@RequestParam("appId") String appId); + + /** + * 根据名字查询所有社区列表 + * + * @param name + * 社区名字 + * @return 社区列表 + */ + @GetMapping("/switch/community/search/list") + R communitySwitchSearchList(@RequestParam(value = "name") String name,@RequestParam(value = "appId") String appId); + + /** + * 根据经纬度以及距离搜索附近社区列表 + * + * @param communityDTO + * 请求参数 + * @return 社区列表 + */ + @PostMapping("/switch/community/search/distance/list") + R communitySwitchSearchDistanceList(@RequestBody SearchCommunityDTO communityDTO); + + /** + * 问卷调查统计汇总 + * + * @param summaryDTO + * 请求参数 + * @return 统计汇总 + */ + @PostMapping("/questnaire/statisticsSummary") + R statisticsSummary(@RequestBody StatisticsSummaryDTO summaryDTO); + + /** + * 问卷调查统计汇总导出数据查询 + * + * @param questId + * 调查问卷id + * @return 调查统计汇总导出数据 + */ + @GetMapping("/questnaire/statisticsSummary/export") + R statisticsSummaryExport(@RequestParam("questId") Long questId); + + /** + * 问卷调查统计汇总表头统计 + * + * @param questId + * 调查问卷id + * @return 问卷调查统计汇总表头统计数据 + */ + @GetMapping("/questnaire/statisticsSummary/header") + R statisticsSummaryHeader(@RequestParam("questId") Long questId, @RequestParam("communityId") Long communityId); + + /** + * 运营后台-新增随手拍分类 + * + * @param addPhotoClassify + * 请求参数 + * @return 新增结果 + */ + @PostMapping("/classify/admin/add") + R addPhotoClassify(@RequestBody AddEasyPhotoClassifyDTO addPhotoClassify); + + /** + * 运营后台-编辑随手拍分类 + * + * @param addPhotoClassify + * 请求参数 + * @return 编辑结果 + */ + @PostMapping("/classify/admin/edit") + R editPhotoClassify(@RequestBody AddEasyPhotoClassifyDTO addPhotoClassify); + + /** + * 运营后台-分页查询随手拍分类 + * + * @param addPhotoClassify + * 请求参数 + * @return 随手拍分类列表 + */ + @PostMapping("/classify/admin/page") + R pagePhotoClassify(@RequestBody AddEasyPhotoClassifyDTO addPhotoClassify); + + /** + * 运营后台-随手拍分类详情 + * + * @param id + * 随手拍分类id + * @return 随手拍分类 + */ + @GetMapping("/classify/admin/detail") + R detailPhotoClassify(@RequestParam("id") Long id); + + /** + * 运营后台-随手拍分类删除 + * + * @param id + * 随手拍分类id + * @return 删除结果 + */ + @GetMapping("/classify/admin/delete") + R deletePhotoClassify(@RequestParam("id") Long id); + + /** + * 运营后台-查询随手拍分类列表 + * + * @return 随手拍分类列表 + */ + @GetMapping("/classify/admin/list") + R listPhotoClassify(@RequestParam("areaCode") String areaCode); + + /** + * 社区后台-切换随手拍公示状态 + * + * @param comActEasyPhotoVO + * 请求参数 + * @return 切换结果 + */ + @PostMapping("/easyphoto/switch/publicity") + R easyPhotoSwitchPublicity(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO); + + /** + * 查询社区待处理随手拍id集合 + * + * @param communityId + * 社区id + * @return 社区待处理随手拍id集合 + */ + @GetMapping("/easyphoto/noHandle/list") + R easyPhotoNoHandleList(@RequestParam("communityId") Long communityId); + + @GetMapping("/reserve/detail") + R reserveDetail(@RequestParam("id") Long id,@RequestParam("userId") Long userId,@RequestParam("recordId") Long recordId,@RequestParam("isBack") Integer isBack); + + @PostMapping("/reserve/commit") + R reserveCommit(@RequestBody ComActReserveCommitVO comActReserveCommitVO); + + @PostMapping("/reserve/commitNoToken") + R reserveCommitNoToken(@RequestBody ComActReserveCommitVO comActReserveCommitVO); + /** + * 我的预约/登记 + * @param pageUserReserveDTO + * @return + */ + @PostMapping("/reserve/userReserveList") + R userReserveList(@RequestBody PageUserReserveDTO pageUserReserveDTO); + + /** + * 取消预约/登记 + */ + @PostMapping("/reserve/cancelReserve") + R userCancelReserve(@RequestBody CancelRecordDTO comActReserveRecordDO); + + /** + * 预约详情操作记录 + */ + @PostMapping("/reserve/detailOperation") + R reserveOperation(@RequestBody OperationDetailDTO comActReserveOperationRecordDO); + + /** + * 社区后台-分页查询预约登记列表 + * @param pageReserveDTO 请求参数 + * @return 预约登记列表 + */ + @PostMapping("/reserve/admin/page") + R pageReserveAdmin(@RequestBody PageReserveAdminDTO pageReserveDTO); + + /** + * 社区后台-新增预约登记信息 + * @param addReserveDTO 请求参数 + * @return 新增结果 + */ + @PostMapping("/reserve/admin/add") + R addReserveAdmin(@RequestBody AddReserveAdminDTO addReserveDTO); + + /** + * 社区后台-编辑预约登记信息 + * @param editReserveDTO 请求参数 + * @return 新增结果 + */ + @PostMapping("/reserve/admin/edit") + R editReserveAdmin(@RequestBody EditReserveAdminDTO editReserveDTO); + + /** + * 社区后台-修改预约登记状态 + * @param editReserveDTO 请求参数 + * @return 修改结果 + */ + @PostMapping("/reserve/admin/edit/status") + R editReserveStatusAdmin(@RequestBody EditComActReserveStatusDTO editReserveDTO); + + /** + * 社区后台-继续预约登记 + * @param editReserveDTO 请求参数 + * @return 修改结果 + */ + @PostMapping("/reserve/admin/edit/info") + R editReserveInfoAdmin(@RequestBody EditComActReserveInfoDTO editReserveDTO); + + /** + * 社区后台-根据预约登记id查询详情 + * @param reserveId 预约登记id + * @return 预约登记详情 + */ + @GetMapping("/reserve/admin/detail") + R<ComActReserveDetailAdminVO> detailReserveAdmin(@RequestParam("reserveId") Long reserveId); + + /** + * 社区后台-根据社区id统计预约类数据 + * @param makeStatisticsDTO 请求参数 + * @return 统计预约类数据 + */ + @PostMapping("/reserve/admin/make/statistics") + R makeStatisticsAdmin(@RequestBody ComActReserveMakeStatisticsDTO makeStatisticsDTO); + + /** + * 社区后台-查询导出预约统计汇总数据 + * @param makeStatisticsDTO 请求参数 + * @return 统计预约类数据 + */ + @PostMapping("/reserve/admin/make/statistics/export") + R makeStatisticsExportAdmin(@RequestBody ComActReserveMakeStatisticsDTO makeStatisticsDTO); + + /** + * 社区后台-根据预约id查询预约明细 + * @param pageMakeDTO 请求参数 + * @return 预约明细 + */ + @PostMapping("/reserve/admin/make/page") + R pageMakeAdmin(@RequestBody PageReserveMakeAdminDTO pageMakeDTO); + + /** + * 根据预约记录id查询预约明细操作记录 + * @param reserveRecordId 预约记录id + * @return 预约明细操作记录 + */ + @GetMapping("/reserve/admin/make/detail") + R detailMakeAdmin(@RequestParam("reserveRecordId") Long reserveRecordId); + + /** + * 批量取消预约记录 + * @param reserveRecordDTO 请求参数 + * @return 取消结果 + */ + @PostMapping("/reserve/admin/make/cancel") + R makeCancelAdmin(@RequestBody CancelReserveRecordDTO reserveRecordDTO); + + /** + * 预约明细导出数据查询 + * @param pageMakeDTO 请求参数 + * @return 预约明细数据 + */ + @PostMapping("/reserve/admin/make/list/export") + R exportMakeAdmin(@RequestBody PageReserveMakeAdminDTO pageMakeDTO); + + /** + * 分页查询登记统计汇总 + * @param registerStatisticsDTO 请求参数 + * @return 登记统计汇总 + */ + @PostMapping("/reserve/admin/register/page") + R registerStatisticsAdmin(@RequestBody ComActReserveRegisterStatisticsDTO registerStatisticsDTO); + + /** + * 导出登记统计汇总 + * @param registerStatisticsDTO 请求参数 + * @return 登记统计汇总 + */ + @PostMapping("/reserve/admin/register/export") + R registerStatisticsExportAdmin(@RequestBody ComActReserveRegisterStatisticsDTO registerStatisticsDTO); + + /** + * 分页查询预约处理列表 + * @param pageMakeHandleDTO 请求参数 + * @return 预约处理列表 + */ + @PostMapping("/reserve/admin/make/handle/page") + R pageMakeHandleAdmin(@RequestBody PageReserveMakeHandleAdminDTO pageMakeHandleDTO); + + /** + * 批量处理预约记录 + * @param makeHandleDTO 请求参数 + * @return 处理结果 + */ + @PostMapping("/reserve/admin/make/handle") + R makeHandleAdmin(@RequestBody MakeHandleAdminDTO makeHandleDTO); + + /** + * 导出预约处理列表数据查询 + * @param pageMakeHandleDTO 请求参数 + * @return 预约处理列表 + */ + @PostMapping("/reserve/admin/make/handle/export") + R exportMakeHandleAdmin(@RequestBody PageReserveMakeHandleAdminDTO pageMakeHandleDTO); + + /** + * 删除预约登记信息 + * @param reserveId 预约登记id + * @return 删除结果 + */ + @GetMapping("/reserve/admin/delete") + R deleteReserveAdmin(@RequestParam("reserveId") Long reserveId); + + /** + * 查询社区所有预约信息列表 + * @param communityId 社区id + * @return 预约信息列表 + */ + @GetMapping("/reserve/admin/list") + R listReserveAdmin(@RequestParam("communityId") Long communityId); + + /** + * 导出登记明细数据 + * + * @param pageReserveRegisterDetailedAdminDTO + * @return 登记明细数据 + */ + @PostMapping("/reserve/admin/register/list/export") + R exportRegisterAdmin(@RequestBody PageReserveRegisterDetailedAdminDTO pageReserveRegisterDetailedAdminDTO); + + /** + * 查询预约登记题目下属选择项列表 + * + * @param reserveSubId + * 预约登记id + * @return 查询预约登记题目下属选择项列表 + */ + @GetMapping("/reserve/admin/subject/selection/list") + List<String> subjectSelectionListAdmin(@RequestParam("reserveSubId") Long reserveSubId); + /** + * 查询预约登记题目列表 + * @param reserveId 预约登记id + * @return 约登记题目列表 + */ + @GetMapping("/reserve/admin/subject/list") + R subjectListAdmin(@RequestParam("reserveId") Long reserveId); + + /** + * 分页查询登记明细列表 + * @param detailedAdminDTO 请求参数 + * @return 登记明细列表 + */ + @PostMapping("/reserve/admin/register/detailed/list") + R registerDetailedListAdmin(@RequestBody PageReserveRegisterDetailedAdminDTO detailedAdminDTO); + + /** + * 导出登记明细列表 + * @param detailedAdminDTO 请求参数 + * @return 登记明细列表 + */ + @PostMapping("/reserve/admin/register/detailed/list/export") + R registerDetailedListAdminExport(@RequestBody PageReserveRegisterDetailedAdminDTO detailedAdminDTO); + + /** + * 查询登记详情记录 + * @param reserveRecordId 登记记录id + * @return 登记详情记录 + */ + @GetMapping("/reserve/admin/register/detailed/detail") + R registerDetailedDetailAdmin(@RequestParam("reserveRecordId") Long reserveRecordId); + /** + * 活动签到 + * + * @param comActActRegistVO 请求参数 + * @return 签到结果 + */ + @PostMapping("/activity/sign-in") + R activitySignIn(@RequestBody ComActActRegistVO comActActRegistVO); + + /** + * 用户签到列表 + * + * @param userId 用户id + * @return 用户签到记录列表 + */ + @GetMapping("/sign-in/user/list") + R listSignInActivity(@RequestParam("userId") Long userId); + + /** + * 社区活动评价 + * + * @param comActActEvaluateVO 社区评价VO + * @return 评价结果 + */ + @PostMapping("/activity/evaluate") + R activityEvaluate(@RequestBody ComActActEvaluateVO comActActEvaluateVO); + + /** + * 用户评价列表 + * + * @param userId 用户id + * @return 当前用户对所有活动的评价列表 + */ + @GetMapping("/evaluate/user/list") + R listEvaluate(@RequestParam("userId") Long userId); + + /** + * 定时任务针对活动结束后7天还未评价的用户默认好评 + */ + @PostMapping("/activity/default-praise") + R timedTaskActivityDefaultPraise(); + + /** + * 小程序-用户新增话题 + * @param circleTopicAppDTO 请求参数 + * @return 新增结果 + */ + @PostMapping("/neighbor/addNeighborTopicByApp") + R addNeighborTopicByApp(@RequestBody AddNeighborCircleTopicAppDTO circleTopicAppDTO); + + /** + * 小程序-删除邻里圈 + * @param circleTopicAppDTO 请求参数 + * @return 删除结果 + */ + @PostMapping("/neighbor/deleteNeighborByApp") + R deleteNeighborByApp(@RequestBody DeleteNeighborCircleAppDTO circleTopicAppDTO); + + + /** + * 分页查询邻里圈列表 + * + * @param neighborCircleAppDTO + * 请求参数 + * @return 邻里圈列表 + */ + @PostMapping("/neighbor/selectSolve") + R selectSolve(@RequestBody ComActNeighborCircleAppDTO neighborCircleAppDTO); + + + /** + * 修改数据 + * @param editNeighborCircleAdminVO + * @return + */ + @PostMapping("/neighbor/update") + R order(@RequestBody EditNeighborCircleAdminVO editNeighborCircleAdminVO); + + @PostMapping("/neighbor/serviceStatic") + R serviceStatic(@RequestBody ServiceStaticDTO serviceStaticDTO); + + + /** + * 获取系统配置value + * @param key 系统配置code + * @param communityId 社区id + * @return 系统配置value + */ + @GetMapping("/sys/conf/getSysConfValue") + R getSysConfValue(@RequestParam("key") String key,@RequestParam("communityId") Long communityId); + + /** + * 新增系统配置 + * @param key 系统配置code + * @param communityId 社区id + * @param name 系统配置名称 + * @param value 系统配置value + * @return 新增结果 + */ + @GetMapping("/sys/conf/addSysConfValue") + R addSysConfValue(@RequestParam("key") String key,@RequestParam("communityId") Long communityId,@RequestParam("name") String name,@RequestParam("value") String value); + + /** + * 编辑系统配置 + * @param communityId 社区id + * @param status 配置值 + * @return 编辑结果 + */ + @GetMapping("/sys/conf/editSysConfValue") + R editSysConfValue(@RequestParam("communityId") Long communityId,@RequestParam("status") Integer status); + + /** + * 议事投票后台公布结果 + * @param publishResultDTO 请求参数 + * @return 公布结果 + */ + @PostMapping("publishResultAdmin") + R publishResultAdmin(@RequestBody ComActDiscussPublishResultDTO publishResultDTO); + + /** + * 议事投票-评论/回复删除 + * @param id 评论/回复id + * @return 删除结果 + */ + @GetMapping("deleteDiscussCommentAdmin") + R deleteDiscussCommentAdmin(@RequestParam("id") Long id); + + /** + * 查询社区可发布议事投票权限配置 + * @param communityId 社区id + * @return 社区可发布议事投票权限配置 + */ + @GetMapping("discussJurisdictionGet") + R discussJurisdictionGet(@RequestParam("communityId") Long communityId,@RequestParam("userId") Long userId); + + /** + * 设置当前社区议事投票小程序身份验证参数(1.全部 2.党员 3.志愿者 4.社区工作人员) + * @param communityId 社区id + * @param value 需要设置的参数值 + * @return 设置结果 + */ + @GetMapping("discussJurisdictionSet") + R discussJurisdictionSet(@RequestParam("communityId") Long communityId, @RequestParam("value") String value); + + /** + * 议事投票检测状态定时任务 + * @return 执行结果 + */ + @GetMapping("timedTaskDiscussInspectStatus") + R timedTaskDiscussInspectStatus(); + + /** + * 一起议增加浏览量 + * @param discussId 一起议主键id + */ + @PostMapping("discuss/increase-view-num") + void increaseViewNum(@RequestParam("discussId") Long discussId); + + /** + * 定时任务每半小时执行一次将一起议浏览量写入到表中 + */ + @PostMapping("discuss/write-view-num") + R timedTaskWriteDiscussViewNumToTable(); + + /** + * 公布/编辑一起议投票结果 + * @param comActDiscussDTO + * @return 请求结果 + */ + @PostMapping("discuss/edit-result") + R editDiscussResult(@RequestBody ComActDiscussDTO comActDiscussDTO); + + /** + * 定时任务扫描高龄认证记录信息 + * @return 执行结果 + */ + @PostMapping("/elders/auth/task") + R timedTaskEldersAuthJobHandler(); + + /** + * 身份认证定时任务 + * @return 执行结果 + */ + @PostMapping("/elders/auth/record/task") + R timedTaskEldersAuthRecordJobHandler(); + + /** + * 身份认证定时任务 + * @return 执行结果 + */ + @PostMapping("/elders/authRecords/statistics") + R timedTaskElderAuthStatisticsJobHandler(); + + /** + * 定时任务每年3月1号0点统计养老认证本期应该认证总人数 + * @return 执行结果 + */ + @PostMapping("/elders/pensionAuthRecords/statistics") + R timedTaskPensionAuthStatisticsJobHandler(); + + /** + * 办事指南列表-按分类查询 + * @param pageActWorkGuideDTO 请求参数 + * @return 办事指南分类列表 + */ + @PostMapping("/listworkguide") + R listWorkGuide(@RequestBody PageActWorkGuideDTO pageActWorkGuideDTO); + + /** + * 根据办事指南分类id查询办事指南列表 + * @param classifyId 办事指南分类id + * @return 办事指南列表数据 + */ + @GetMapping("/listworkguide/classify") + R listWorkGuideByClassifyId(@RequestParam("classifyId") Long classifyId); + + /** + * 小程序查询所有进行中的预约登记 + * @param communityId 社区id + * @return 社区所有进行中的预约登记列表 + */ + @GetMapping("/reserve/list") + R reserveListApplets(@RequestParam("communityId") Long communityId); + + /** + * 查询社区高龄认证方式(1.视频认证 2.人脸核验) + * @param eldersAuthTypeQueryDTO 请求参数 + * @return 社区高龄认证方式(1.视频认证 2.人脸核验) + */ + @PostMapping("/elders/new/authtype") + R communityEldersAuthType(@RequestBody EldersAuthTypeQueryDTO eldersAuthTypeQueryDTO); + + /** + * 设置当前社区高龄认证方式:核验类型(1.视频认证 2.人脸核验) + * @param communityId 社区id + * @param type 检验类型 + * @return R 设置结果 + */ + @PutMapping("/elders/new/authType/{type}") + R setEldersAuthType(@RequestParam("communityId") Long communityId, @RequestParam("type") Integer type); + + /** + * 新增身份认证 + * @param addIdentityAuthDTO 新增身份认证请求参数 + * @return 新增结果结果 + */ + @PostMapping("/identity-auth/add") + R addIdentityAuth(@RequestBody AddIdentityAuthDTO addIdentityAuthDTO); + + /** + * 分页查询身份认证记录 + * @param pageIdentityAuthRecordDTO 分页查询身份认证记录参数 + * @return 身份认证记录列表 + */ + @PostMapping("/identity-auth/record/page") + R queryRecordWithPage(@RequestBody PageIdentityAuthRecordDTO pageIdentityAuthRecordDTO); + + /** + * 获取身份认证详情 + * @param authType 认证类型 + * @param identityAuthId 认证id + * @return 认证记录详情 + */ + @GetMapping("/identity-auth/detail") + R retrieveIdentityAuthDetail(@RequestParam("authType") Integer authType, + @RequestParam("identityAuthId") Long identityAuthId); + + /** + * 获取身份认证方式 + * @param communityId + * @param identityAuthType + * @return 认证方式 + */ + @GetMapping("/identity-auth/mode") + R getIdentityAuthMode(@RequestParam(value = "communityId") Long communityId, + @RequestParam(value = "identityAuthType") Integer identityAuthType); + + /** + * 获取身份认证人脸核验token + * @param getIdentityEidTokenDTO + * @return token + */ + @PostMapping("/identity-auth/getEidToken") + R getEidToken(@RequestBody GetIdentityEidTokenDTO getIdentityEidTokenDTO); + + /** + * 一起议获取是否有发布权 + * @param comActDiscussDTO + * @return + */ + @PostMapping("discuss/permissions") + R getDiscussPermissions(@RequestBody ComActDiscussDTO comActDiscussDTO); + + /** + * 高龄认证统计-分页查询 + * @param pageElderAuthStatisticDTO 请求参数 + * @return 高龄认证统计列表 + */ + @PostMapping("/elders/auth/statistic/page") + R pageAuthStatisticAdmin(@RequestBody PageElderAuthStatisticDTO pageElderAuthStatisticDTO); + + /** + * 高龄认证统计-标记 + * @param signElderAuthStatisticDTO 请求参数 + * @return 标记结果 + */ + @PostMapping("/elders/auth/statistic/sign") + R signAuthStatisticAdmin(@RequestBody SignElderAuthStatisticDTO signElderAuthStatisticDTO); + + /** + * 高龄认证统计-统计表头数据 + * @param statisticHeaderDTO 请求参数 + * @return 统计表头数据 + */ + @PostMapping("/elders/auth/header/statistic") + R getAuthHeaderStatisticAdmin(@RequestBody ElderAuthStatisticHeaderDTO statisticHeaderDTO); + + /** + * 养老认证统计-分页查询 + * @param pensionAuthStatisticDTO 请求参数 + * @return 养老认证统列表 + */ + @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 cascadeHouseDTO + * 请求参数 + * @return 菜单列表 + */ + @PostMapping("/common/data/population/second/listBack") + 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(@RequestParam("areaCode") String areaCode); + + /** + * 获取用户便民服务商家详情 + * @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,@RequestParam("areaCode")String areaCode); + + /** + * 获取该社区下的热门商家 + * @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); + + /** + * 社区后台-分页查询楼栋列表 + * @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 id + * @return + */ + @GetMapping("/building/delete") + R buildingDelete(@RequestParam("id")Long id); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActWarehouseApply/queryAll") + public R comActWarehouseApplySelectAll(@RequestBody CommonPage commonPage); + + /** + * 统计查询 + * + * @param communityId + * @return 所有数据 + */ + @GetMapping("/comActWarehouseApply/selectStatics") + public R comActWarehouseApplySelectAll(@RequestParam("communityId") Long communityId); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActWarehouseApply/{id}") + public R comActWarehouseApplySelectOne(@PathVariable("id") Integer id); + + /** + * 新增数据 + * + * @param comActWarehouseApply 实体对象 + * @return 新增结果 + */ + @PostMapping("/comActWarehouseApply") + public R comActWarehouseApplyInsert(@RequestBody ComActWarehouseApplyVO comActWarehouseApply); + + /** + * 修改数据 + * + * @param comActWarehouseApply 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActWarehouseApply/update") + public R comActWarehouseApplyUpdate(@RequestBody ComActWarehouseApplyVO comActWarehouseApply); + + /** + * 删除数据 + * + * @param id 主键结合 + * @return 删除结果 + */ + @GetMapping("/comActWarehouseApply/del") + public R comActWarehouseApplyDelete(@RequestParam("id") Long id); + + /** + * 生成二维码 + * @param qrCodeVO + * @return + */ + @PostMapping("/comActWarehouseApply/getQRCode") + public R comActWarehouseApplyGetQRCode(@RequestBody QRCodeVO qrCodeVO); + + /** + * 社区Id查询基础配置 + * @param communityId + * @return + */ + @GetMapping("/comActWarehouseBase") + public R comActWarehouseBaseSelectOne(@RequestParam("communityId") Long communityId); + + /** + * 新增数据 + * + * @param comActWarehouseBase 实体对象 + * @return 新增结果 + */ + @PostMapping("/comActWarehouseBase") + public R comActWarehouseBaseInsert(@RequestBody ComActWarehouseBaseVO comActWarehouseBase); + + /** + * 导出数据 + */ + @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(@RequestParam("areaCode") String areaCode); + + /** + * 西区大屏治理数据 + */ + @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 pageBigScreenStatisticPartyOrg + * @return + */ + @PostMapping("/bigscreen/party/partyActivityTop") + R partyActivityTop(@RequestBody PageBigScreenStatisticPartyOrg pageBigScreenStatisticPartyOrg); + + /** + * 社区服务大屏数据分析接口 + */ + @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); + + /** + * 清网治格-根据事件分类获取近1月的社区事件数据 + * @param type + * @param communityId + * @return + */ + @GetMapping("/screen/event/list") + R getEventList(@RequestParam(value = "type") Integer type, @RequestParam(value = "communityId") Long communityId); + + /** + * 清网治格-社区事件数据分页 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/event/page") + R pageEventList(@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 deleteProductDTO + * @return + */ + @PostMapping("/microcommercialstreet/product/delete") + R deleteMcsProduct(@RequestBody DeleteProductDTO deleteProductDTO); + + /** + * 上架/下架产品信息 + * @param setShelfForProductDTO + * @return + */ + @PutMapping("/microcommercialstreet/product/setShelf") + R setShelfForMcsProduct(@RequestBody SetShelfForProductDTO setShelfForProductDTO); + + /** + * 分页查询产品信息 + * @param pageMcsProductDTO + * @return + */ + @PostMapping("/microcommercialstreet/product/page") + R pageMcsProduct(@RequestBody PageMcsProductDTO pageMcsProductDTO); + + /** + * 获取产品标签列表 + * @param userId + * @return + */ + @GetMapping("/microcommercialstreet/label/list") + R getMcsLabelList(@RequestParam("userId") Long userId); + + /** + * check商家/店铺是否有效 + * @param userId + * @return + */ + @GetMapping("/shop/checkStoreIsValid") + R checkStoreIsValid(@RequestParam("userId") Long userId); + + /** + * 根据account查询微商业街商家信息 + * @param account + * @return + */ + @GetMapping("/microcommercialstreet/getMcsMerchantByAccount") + R getMcsMerchantByAccount(@RequestParam("account") String account); + + /** + * 完成订单更新/新增商家信息 + * @param merchantName + * @param configId + * @param userId + * @return + */ + @GetMapping("/microcommercialstreet/updateAfterOrder") + R updateMcsMerchantAfterOrder(@RequestParam(value = "merchantName", required = false) String merchantName, + @RequestParam("configId") Long configId, @RequestParam("userId") Long userId); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/mcsOrder/queryAll") + R selectAllMscOrder(@RequestBody CommonPage commonPage); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/mcsOrder/{id}") + R selectOneMscOrder(@PathVariable("id") Long id); + + /** + * 新增数据 + * + * @param mcsOrderVO 实体对象 + * @return 新增结果 + */ + @PostMapping("/mcsOrder") + R insertMscOrder(@RequestBody McsOrderVO mcsOrderVO); + + /** + * 修改数据 + * + * @param mcsOrderVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/mcsOrder/update") + R updateMscOrder(@RequestBody McsOrderVO mcsOrderVO); + + /** + * 微信支付 + * @param mcsOrderVO + * @return + */ + @PostMapping("/mcsOrder/wxPay") + R wxPayMscOrder(McsOrderVO mcsOrderVO); + + /** + * 发送提醒短信 + * @param id + * @return + */ + @GetMapping("/mcsOrder/sendContent") + R sendContentMcsOrder(@RequestParam("id") Long id); + + /** + *微信支付回调 + * @param mcsOrderVO + * @return + */ + @PostMapping("/mcsOrder/notify") + R notifyMcsOrder(@RequestBody McsOrderVO mcsOrderVO); + + /** + * 验证码登录 + * @param loginDTO + * @return + */ + @PostMapping("/microcommercialstreet/loginWithPhone") + R loginWithPhone(@RequestBody LoginWithPhoneDTO loginDTO); + + /** + * 首页顶部数据 + * @return + */ + @GetMapping("/microcommercialstreet/index/topData") + R getMcsIndexTopData(); + + /** + * 戳戳卷领取 + * @param gameId + * @param userId + * @return + */ + @GetMapping("/microcommercialstreet/coupon/apply") + R applyMcsCoupon(@RequestParam("gameId") Long gameId, @RequestParam("userId") Long userId); + + /** + * h5分页查询戳戳资讯 + * @param pageMcsInformationDTO + * @return + */ + @PostMapping("/microcommercialstreet/information/pageH5") + R pageH5McsInfo(@RequestBody PageMcsInformationDTO pageMcsInformationDTO); + + /** + * h5分页查询戳戳游戏 + * @param pageMcsGameDTO + * @return + */ + @PostMapping("/microcommercialstreet/game/pageH5") + R pageH5McsGame(@RequestBody PageMcsGameDTO pageMcsGameDTO); + + /** + * 游戏详情 + * @param gameId + * @return + */ + @GetMapping("/microcommercialstreet/game/get") + R getMcsGame(@RequestParam("gameId") Long gameId); + + /** + * 资讯详情 + * @param infoId + * @return + */ + @GetMapping("/microcommercialstreet/info/get") + R getMcsInfo(@RequestParam("infoId") Long infoId); + + /** + * H5分页查询数字商业街商家 + * @param pageMcsMerchantDTO + * @return + */ + @PostMapping("/microcommercialstreet/merchant/pageH5") + R pageH5McsMerchant(@RequestBody PageMcsMerchantDTO pageMcsMerchantDTO); + + /** + * 我的戳戳卷 + * @param type + * @param userId + * @return + */ + @GetMapping("/microcommercialstreet/myCoupon") + R getMyCoupon(@RequestParam(value = "type", required = false) Integer type, @RequestParam("userId") Long userId); + + /** + * 新增评价记录 + * @param mcsEvaluateDTO + * @return + */ + @PostMapping("/microcommercialstreet/evaluate/add") + R addMcsEvaluate(@RequestBody McsEvaluateDTO mcsEvaluateDTO); + + /** + * 我的评价-参与游戏列表 + * @param pageJoinGameListDTO + * @return + */ + @PostMapping("/microcommercialstreet/joinGame/page") + R getJoinGameList(@RequestBody PageJoinGameListDTO pageJoinGameListDTO); + + /** + * 戳戳卷核销 + * @param couponId + * @param userId + * @return + */ + @GetMapping("/microcommercialstreet/coupon/verify") + R verifyMcsCoupon(@RequestParam("couponId") Long couponId, @RequestParam("userId") Long userId); + + /** + * 分页查询核销记录 + * @param pageVerifyRecordDTO + * @return + */ + @PostMapping("/microcommercialstreet/verifyRecord/page") + R pageMcsVerifyRecord(@RequestBody PageVerifyRecordDTO pageVerifyRecordDTO); + + /** + * 游戏统计 + * @param userId + * @return + */ + @GetMapping("/microcommercialstreet/game/statistics") + R getMcsGameStatistics(@RequestParam("userId") Long userId); + + /** + * 修改用戶信息 + * @param putUserInfoDTO + * @return + */ + @PutMapping("/microcommercialstreet/putUserInfo") + R putUserInfo(@RequestBody PutUserInfoDTO putUserInfoDTO); + + /** + * 根据userId获取商家信息 + * @param userId + * @return + */ + @GetMapping("/microcommercialstreet/retrieveMcsMerchantInfoByUserId") + R retrieveMcsMerchantInfoByUserId(@RequestParam("userId") Long userId); + + /** + * 定时任务-每隔5分钟执行一次,将已到期的微商业街商家旗下所有的游戏/资讯全部下架 + * @return + */ + @GetMapping("/microcommercialstreet/offResourceForMcsMerchant") + R offResourceForMcsMerchant(); + + /** + * 获取产品信息详情 + * @param productId + * @return + */ + @GetMapping("/microcommercialstreet/product/get") + R getMcsProduct(@RequestParam("productId") Long productId); + + /** + * 定时任务-每隔5分钟执行一次,将已到期的微商业街游戏结束 + * @return + */ + @GetMapping("/microcommercialstreet/endStatusForMcsGame") + R endStatusForMcsGame(); + + @GetMapping("/reserve/record/delete") + R deleteRecord(@RequestParam("recordId")Long recordId); + + /** + * 历史数据人员类型填充 + * @param newVoList + * @param communityId + * @param userId + * @return + */ + @PostMapping("/common/data/history/filled") + R filledPopulationPersonType(@RequestBody List<ComMngPopulationServeExcelVO> newVoList, + @RequestParam("communityId") Long communityId, @RequestParam("userId") Long userId); + + /** + * 社区后台-分页查询志愿者组织队伍 + * + * @param orgTeamDto 请求参数 + * @return 志愿者组织队伍 + */ + @PostMapping("/comMngVolunteerOrgTeam/page") + R pageVolunteerOrgAdmin(@RequestBody PageComMngVolunteerOrgTeamDto orgTeamDto); + + /** + * 社区后台-新增志愿者组织队伍 + * + * @param orgTeamDto 请求参数 + * @return 新增结果 + */ + @PostMapping("/comMngVolunteerOrgTeam/add") + R addVolunteerOrgAdmin(@RequestBody AddComMngVolunteerOrgTeamDto orgTeamDto); + + /** + * 社区后台-编辑志愿者组织队伍 + * + * @param orgTeamDto 请求参数 + * @return 编辑结果 + */ + @PutMapping("/comMngVolunteerOrgTeam/edit") + R editVolunteerOrgAdmin(@RequestBody EditComMngVolunteerOrgTeamDto orgTeamDto); + + /** + * 社区后台-删除志愿者组织队伍 + * + * @param id 主键id + * @return 删除结果 + */ + @GetMapping("/comMngVolunteerOrgTeam/delete") + R deleteVolunteerOrgAdmin(@RequestParam("id") Long id); + + /** + * 社区后台-查询志愿者组织列表 + * + * @param orgTeamDto 请求参数 + * @return 志愿者组织列表 + */ + @PostMapping("/comMngVolunteerOrgTeam/list") + R listVolunteerOrgAdmin(@RequestBody PageComMngVolunteerOrgTeamDto orgTeamDto); + + /** + * 社区后台-分页查询服务类型 + * + * @param serviceTypeDto 请求参数 + * @return 服务类型列表 + */ + @PostMapping("/comMngVolunteerServiceType/page") + R pageServiceTypeAdmin(@RequestBody PageComMngVolunteerServiceTypeDto serviceTypeDto); + + /** + * 社区后台-新增服务类型 + * + * @param serviceTypeDto 请求参数 + * @return 新增结果 + */ + @PostMapping("/comMngVolunteerServiceType/add") + R addServiceTypeAdmin(@RequestBody AddComMngVolunteerServiceTypeDto serviceTypeDto); + + /** + * 社区后台-编辑服务类型 + * + * @param serviceTypeDto 请求参数 + * @return 编辑结果 + */ + @PutMapping("/comMngVolunteerServiceType/edit") + R editServiceTypeAdmin(@RequestBody EditComMngVolunteerServiceTypeDto serviceTypeDto); + + /** + * 社区后台-删除服务类型 + * + * @param id 主键id + * @return 删除结果 + */ + @GetMapping("/comMngVolunteerServiceType/delete") + R deleteServiceTypeAdmin(@RequestParam("id") Long id); + + /** + * 社区后台-分页查询志愿者技能列表 + * + * @param volunteerSkillDto 请求参数 + * @return 志愿者技能列表 + */ + @PostMapping("/comMngVolunteerSkill/page") + R pageVolunteerSkillAdmin(@RequestBody PageComMngVolunteerSkillDto volunteerSkillDto); + + /** + * 社区后台-新增志愿者技能 + * + * @param volunteerSkillDto 请求参数 + * @return 新增结果 + */ + @PostMapping("/comMngVolunteerSkill/add") + R addVolunteerSkillAdmin(@RequestBody AddComMngVolunteerSkillDto volunteerSkillDto); + + /** + * 社区后台-编辑志愿者技能 + * + * @param volunteerSkillDto 请求参数 + * @return 编辑结果 + */ + @PutMapping("/comMngVolunteerSkill/edit") + R editVolunteerSkillAdmin(@RequestBody EditComMngVolunteerSkillDto volunteerSkillDto); + + /** + * 社区后台-删除志愿者技能 + * + * @param id 主键id + * @return 删除结果 + */ + @GetMapping("/comMngVolunteerSkill/delete") + R deleteVolunteerSkillAdmin(@RequestParam("id") Long id); + + /** + * 社区后台-查询志愿者服务类型列表 + * + * @param serviceTypeDto 请求参数 + * @return 志愿者服务列表 + */ + @PostMapping("/comMngVolunteerServiceType/list") + R listServiceTypeAdmin(@RequestBody PageComMngVolunteerServiceTypeDto serviceTypeDto); + + /** + * 社区后台-查询志愿者技能列表 + * + * @param volunteerSkillDto 请求参数 + * @return 志愿者技能列表 + */ + @PostMapping("/comMngVolunteerSkill/list") + R listVolunteerSkillAdmin(@RequestBody PageComMngVolunteerSkillDto volunteerSkillDto); + + /** + * 社区后台-志愿者组织统计 + * + * @param communityId 社区id + * @return 志愿者组织统计 + */ + @GetMapping("/comMngVolunteerOrgTeam/statistics") + R statisticsVolunteerOrgAdmin(@RequestParam("communityId") Long communityId); + + /** + * 志愿者导入 + * + * @param list 志愿者数据列表 + * @param communityId 社区id + * @param userId 用户id + * @return 导入结果 + */ + @PostMapping("/volunteer/import/admin") + R importVolunteerAdmin(@RequestBody List<ComMngVolunteerExcelVO> list, + @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); + + @PostMapping("/screen/hmk/baseInfo") + R hmkBaseInfo(@RequestBody CommonPage commonPage); + + @GetMapping("/screen/hmk/partyProjectActivityLine") + R partyProjectActivityLine(); + + @PostMapping("/screen/hmk/projectActivityTop") + R projectActivityProject(@RequestBody CommonPage commonPage); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActSocialOrg/{id}") + R comActSocialOrgSelectOne(@PathVariable("id") Long id); + + + /** + * 通过userId查询 + * + * @param userId 主键 + * @return 单条数据 + */ + @GetMapping("/comActSocialOrg/selectByUserId") + R selectOneByUserId(@RequestParam("userId") Long userId); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActSocialMember/queryAll") + public R comActSocialMemberSelectAll(@RequestBody CommonPage commonPage); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActSocialMember/{id}") + public R comActSocialMemberSelectOne(@PathVariable("id") Long id); + + /** + * 新增数据 + * + * @param comActSocialMember 实体对象 + * @return 新增结果 + */ + @PostMapping("/comActSocialMember") + public R comActSocialMemberInsert(@RequestBody ComActSocialMemberVO comActSocialMember); + + /** + * 批量新增数据 + * + * @param comActSocialMember 实体对象 + * @return 新增结果 + */ + @PostMapping("/comActSocialProjectMember/batch") + public R comActSocialMemberInsertBatch(@RequestBody ComActSocialProjectMemberVO comActSocialMember); + + /** + * 修改数据 + * + * @param comActSocialMember 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActSocialMember/update") + public R comActSocialMemberUpdate(@RequestBody ComActSocialMemberVO comActSocialMember); + + /** + * 删除数据 + * + * @param id 主键结合 + * @return 删除结果 + */ + @GetMapping("/comActSocialMember/del") + public R comActSocialMemberDelete(@RequestParam("id") Long id); + + /** + * 新增社工 + * @param comActSocialWorkerAddDTO + * @return 新增结果 + */ + @PostMapping("/comActSocialWorker/add") + R addComactsocialworker(@RequestBody ComActSocialWorkerAddDTO comActSocialWorkerAddDTO); + + /** + * 修改社工 + * @param comActSocialWorkerEditDTO + * @return 维护结果 + */ + @PostMapping("/comActSocialWorker/edit") + R editComactsocialworker(@RequestBody ComActSocialWorkerEditDTO comActSocialWorkerEditDTO); + + /** + * 分页查找社工 + * @param pageComActSocialWorkerDTO + * @return 维护结果 + */ + @PostMapping("/comActSocialWorker/page") + R queryComactsocialworker(@RequestBody PageComActSocialWorkerDTO pageComActSocialWorkerDTO);//返回 R<IPage<ComActSocialWorkerVO>> + + /** + * 删除社工 + * @param comActSocialWorkerDeleteDTO + * @return 平台用户信息 + */ + @PostMapping("/comActSocialWorker/delete") + R deleteComactsocialworker(@RequestBody ComActSocialWorkerDeleteDTO comActSocialWorkerDeleteDTO); + + /** + * 查询社工详细信息 + * @param id 社工 id + * @return 查找结果 + */ + @PostMapping("/comActSocialWorker/{id}") + R<ComActSocialWorkerVO> comActSocialWorkerDetails(@PathVariable("id") Long id); + + /** + * 批量导入社工 + * + * @param list 社工集合 + */ + @PostMapping("/comActSocialWorker/input") + R listSaveSocialWorkerExcelVO(@RequestBody List<ComActSocialWorkerExcelVO> list, @RequestParam("communityId") Long communityId); + + /** + *活动查询社工列表 + * @param commonPage + * @return + */ + @PostMapping("/comActSocialWorker/activity") + R activity(@RequestBody CommonPage commonPage); + + /** + * 社工查询活动 + * @param commonPage + * @return + */ + @PostMapping("/comActSocialWorker/activityList") + R activityList(@RequestBody CommonPage commonPage); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActSocialWorkerService/queryAll") + R selectAllComActSocialWorkerService(@RequestBody CommonPage commonPage); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActSocialWorkerService/{id}") + R selectOneComActSocialWorkerService(@PathVariable("id") Long id); + + /** + * 修改数据 + * + * @param comActSocialWorkerServiceVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActSocialWorkerService/update") + R updateComActSocialWorkerService(@RequestBody ComActSocialWorkerServiceVO comActSocialWorkerServiceVO); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActSocialProject/queryAll") + R selectAllComActSocialProject(@RequestBody CommonPage commonPage); + + /** + * 平台详情接口 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActSocialProject/{id}") + R selectOneComActSocialProject(@PathVariable("id") Long id); + + /** + * 根据项目id分页获取关联项目 + */ + @PostMapping("/comActSocialProject/getRelation") + R getRelationComActSocialProject(@RequestBody CommonPage commonPage); + + /** + * 新增数据 + * + * @param socialProjectVO 实体对象 + * @return 新增结果 + */ + @PostMapping("/comActSocialProject") + R insertComActSocialProject(@RequestBody SocialProjectVO socialProjectVO); + /** + * 修改数据 + * + * @param socialProjectVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActSocialProject/update") + R updateComActSocialProject(@RequestBody SocialProjectVO socialProjectVO); + /** + * 删除数据 + * + * @param id 主键结合 + * @return 删除结果 + */ + @GetMapping("/comActSocialProject/del") + R deleteComActSocialProject(@RequestParam("id") Long id); + /** + * 小程序详情接口 + * @param id + * @param userId + * @return + */ + @GetMapping("/comActSocialProject/getApplet") + R getAppletComActSocialProject(@RequestParam("id") Long id, @RequestParam(value = "userId", required = false) Long userId); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActSocialProjectMember/queryAll") + public R selectAllComActSocialProjectMember(@RequestBody CommonPage commonPage); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActSocialProjectMember/{id}") + public R selectOneComActSocialProjectMember(@PathVariable("id") Long id); + + /** + * 新增数据 + * + * @param comActSocialProjectMemberVO 实体对象 + * @return 新增结果 + */ + @PostMapping("/comActSocialProjectMember") + public R insertComActSocialProjectMember(@RequestBody ComActSocialProjectMemberVO comActSocialProjectMemberVO); + + /** + * 修改数据 + * + * @param comActSocialProjectMemberVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActSocialProjectMember/update") + public R updateComActSocialProjectMember(@RequestBody ComActSocialProjectMemberVO comActSocialProjectMemberVO); + + /** + * 删除数据 + * + * @param id 主键结合 + * @return 删除结果 + */ + @GetMapping("/comActSocialProjectMember/del") + public R deleteComActSocialProjectMember(@RequestParam("id") Long id); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActSocialProjectPublicity/queryAll") + public R selectAllComActSocialProjectPublicity(@RequestBody CommonPage commonPage); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActSocialProjectPublicity/getByApplet/{id}") + public R selectOneComActSocialProjectPublicity(@PathVariable("id") Long id); + + + /** + * 新增数据 + * + * @param comActSocialProjectPublicityVO 实体对象 + * @return 新增结果 + */ + @PostMapping("/comActSocialProjectPublicity") + public R insertComActSocialProjectPublicity(@RequestBody ComActSocialProjectPublicityVO comActSocialProjectPublicityVO); + + /** + * 修改数据 + * + * @param comActSocialProjectPublicityVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActSocialProjectPublicity/update") + public R updateComActSocialProjectPublicity(@RequestBody ComActSocialProjectPublicityVO comActSocialProjectPublicityVO); + + /** + * 删除数据 + * + * @param id 主键结合 + * @return 删除结果 + */ + @GetMapping("/comActSocialProjectPublicity/del") + public R deleteComActSocialProjectPublicity(@RequestParam("id") Long id); + /** + * 多条删除数据 + * + * @param ids 主键结合 + * @return 删除结果 + */ + @GetMapping("/comActSocialProjectPublicity/delBatch") + public R delBatchComActSocialProjectPublicity(@RequestParam("ids") List<Long> ids); + + /** + * 根据projectId查询所有进度 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActSocialProjectSchedule/queryAll") + public R selectAllComActSocialProjectSchedule(@RequestBody CommonPage commonPage); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActSocialProjectSchedule/{id}") + public R selectOneComActSocialProjectSchedule(@PathVariable("id") Long id); + + /** + * 新增数据 + * + * @param comActSocialProjectScheduleVO 实体对象 + * @return 新增结果 + */ + @PostMapping("/comActSocialProjectSchedule") + public R insertComActSocialProjectSchedule(@RequestBody ComActSocialProjectScheduleVO comActSocialProjectScheduleVO); + + /** + * 修改数据 + * + * @param comActSocialProjectScheduleVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActSocialProjectSchedule/update") + public R updateComActSocialProjectSchedule(@RequestBody ComActSocialProjectScheduleVO comActSocialProjectScheduleVO); + + /** + * 删除数据 + * + * @param id 主键结合 + * @return 删除结果 + */ + @GetMapping("/comActSocialProjectSchedule/del") + public R deleteComActSocialProjectSchedule(@RequestParam("id") Long id); + + /** + * 项目分类级联 + * @param comActColumnVO + * @return + */ + @PostMapping("/comActColumn/queryLevel") + public R queryLevel(@RequestBody ComActColumnVO comActColumnVO); + + @PostMapping("/comActRaffle/queryAll") + R selectAllComActRaffle(@RequestBody CommonPage commonPage); + + @GetMapping("/comActRaffle/detail") + R selectOneComActRaffle(@RequestParam("id") Long id,@RequestParam("userId")Long userId); + + @PostMapping("/comActRaffle") + R insertComActRaffle(@RequestBody ComActRaffleVO comActRaffleVO); + + @PostMapping("/comActRaffle/update") + R updateComActRaffle(@RequestBody ComActRaffleVO comActRaffleVO); + + @GetMapping("/comActRaffle/del") + R deleteComActRaffle(@RequestParam("id") Long id); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActRaffleRecord/queryAll") + R selectAllComActRaffleRecord(@RequestBody CommonPage commonPage); + + @GetMapping("/comActRaffleRecord/queryPrize") + R queryPrize(@RequestParam("id")Long id); + + /** + * 生成二维码 + * @param qrCodeVO + * @return + */ + @PostMapping("/comActRaffleRecord/getQRCode") + R getRaffleQRCode(@RequestBody QRCodeVO qrCodeVO); + + /** + * 修改数据 + * + * @param comActRaffleRecordVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActRaffleRecord/update") + R updateRaffleRecord(@RequestBody ComActRaffleRecordVO comActRaffleRecordVO); + + @PostMapping("/comActRaffleRecord") + R insertRaffleRecord(@RequestBody ComActRaffleRecordVO comActRaffleRecordVO); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActRaffleRecord/{id}") + R selectOneRaffleRecord(@PathVariable("id") Long id); + /** + * 导出 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActRaffleRecord/export") + R exportComActRaffleRecord(@RequestBody CommonPage commonPage); + + /** + * [方法描述] 根据社区ID查询所属城市所在区区域代码, + * + * @param communityId + * 社区ID + * @return String 区域code + * @author manailin + * @date 2022/2/17 10:09 + */ + @GetMapping("act/getActBelongRegionCode") + String getActBelongRegionCode(@RequestParam("communityId") Long communityId); + + /** + * 新增团队类型 + * @param addTeamTypeDTO + * @return + */ + @PostMapping("/fms/teamType/add") + R addFmsTeamType(@RequestBody AddTeamTypeDTO addTeamTypeDTO); + + /** + * 修改团队类型 + * @param editTeamTypeDTO + * @return + */ + @PostMapping("/fms/teamType/edit") + R editFmsTeamType(@RequestBody EditTeamTypeDTO editTeamTypeDTO); + + /** + * 删除团队类型 + * @param teamTypeId + * @param communityId + * @return + */ + @DeleteMapping("/fms/teamType/delete") + R deleteFmsTeamType(@RequestParam("teamTypeId") Long teamTypeId, + @RequestParam("communityId") Long communityId); + + /** + * 获取团队类型列表 + * @param communityId + * @return + */ + @GetMapping("/fms/teamType/list") + R listFmsTeamType(@RequestParam("communityId") Long communityId); + + /** + * 新增团队 + * @param addTeamDTO + * @return + */ + @PostMapping("/fms/team/add") + R addFmsTeam(@RequestBody AddTeamDTO addTeamDTO); + + /** + * 修改团队信息 + * @param editTeamDTO + * @return + */ + @PostMapping("/fms/team/edit") + R editFmsTeam(@RequestBody EditTeamDTO editTeamDTO); + + /** + * 删除团队 + * @param teamId + * @return + */ + @DeleteMapping("/fms/team/delete") + R deleteFmsTeam(@RequestParam("teamId") Long teamId); + + /** + * 获取团队列表 + * @param teamTypeId + * @return + */ + @GetMapping("/fms/team/list") + R listFmsTeam(@RequestParam("teamTypeId") Long teamTypeId); + + /** + * 获取团队详情 + * @param teamId + * @return + */ + @GetMapping("/fms/team/detail") + R detailFmsTeam(@RequestParam("teamId") Long teamId); + + /** + * 级联查询团队数据 + * @param communityId + * @return + */ + @GetMapping("/fms/team/cascade") + R retrieveFmsTeamCascade(@RequestParam("communityId") Long communityId); + + /** + * 新增团队成员 + * @param addTeamMemberDTO + * @return + */ + @PostMapping("/fms/teamMember/add") + R addFmsTeamMember(@RequestBody AddTeamMemberDTO addTeamMemberDTO); + + /** + * 编辑团队成员 + * @param editTeamMemberDTO + * @return + */ + @PostMapping("/fms/teamMember/edit") + R editFmsTeamMember(@RequestBody EditTeamMemberDTO editTeamMemberDTO); + + /** + * 删除团队成员 + * @param deleteTeamMemberDTO + * @return + */ + @PostMapping("/fms/teamMember/delete") + R deleteFmsTeamMember(@RequestBody DeleteTeamMemberDTO deleteTeamMemberDTO); + + /** + * 分页查询团队成员 + * @param pageTeamMemberDTO + * @return + */ + @PostMapping("/fms/teamMember/page") + R pageFmsTeamMember(@RequestBody PageTeamMemberDTO pageTeamMemberDTO); + + /** + * 微团队顶部统计 + * @param communityId + * @return + */ + @GetMapping("/fms/teamMember/statistics") + R statisticsFmsTeamMember(@RequestParam("communityId") Long communityId); + + /** + * 批量导入团队成员 + * @param voList + * @param communityId + * @param userId + * @return + */ + @PostMapping("/fms/teamMember/import") + R listSaveFmsTeamMemberExcelVO(@RequestBody List<ComFmsTeamMemberImportExcelVO> voList, + @RequestParam("communityId") Long communityId, @RequestParam("userId") Long userId); + + /** + * 团队人员导出 + * @param pageTeamMemberDTO + * @return + */ + @PostMapping("/fms/teamMember/export") + R exportTeamMember(@RequestBody PageTeamMemberDTO pageTeamMemberDTO); + + /** + * 后台新增微服务 + * @param adminDTO + * @return + */ + @PostMapping("/fms/service/adminAdd") + R addFmsServiceAdmin(@RequestBody AddFmsServiceAdminDTO adminDTO); + + /** + * 后台分页查询微服务 + * @param adminDTO + * @return + */ + @PostMapping("/fms/service/adminPage") + R pageFmsServiceAdmin(@RequestBody PageFmsServiceAdminDTO adminDTO); + + /** + * 后台核实微服务 + * @param adminDTO + * @return + */ + @PostMapping("/fms/service/approval") + R approvalFmsService(@RequestBody ApprovalFmsServiceAdminDTO adminDTO); + + /** + * 级联查询团队服务人员 + * @param communityId + * @return + */ + @GetMapping("/fms/teamMember/cascade") + R retrieveFmsTeamMemberCascade(@RequestParam("communityId") Long communityId); + + /** + * 后台查看微服务详情 + * @param serviceId + * @return + */ + @GetMapping("/fms/service/detailAdmin") + R detailFmsServiceAdmin(@RequestParam("serviceId") Long serviceId); + + /** + * 后台删除微服务 + * @param serviceId + * @return + */ + @DeleteMapping("/fms/service/delete") + R deleteFmsServiceAdmin(@RequestParam("serviceId") Long serviceId); + + /** + * 微服务顶部统计 + * @param communityId + * @return + */ + @GetMapping("/fms/service/statistics") + R statisticsFmsService(@RequestParam("communityId") Long communityId); + + /** + * 后台导入微服务数据 + * @param voList + * @param communityId + * @param userId + * @return + */ + @PostMapping("/fms/service/import") + R listSaveFmsServiceExcelVO(@RequestBody List<ComFmsServiceImportExcelVO> voList, + @RequestParam("communityId") Long communityId, + @RequestParam("userId") Long userId); + + /** + * 后台新增微讲堂 + * @param adminDTO + * @return + */ + @PostMapping("/fms/classroom/add") + R addFmsClassroom(@RequestBody AddFmsClassroomAdminDTO adminDTO); + + /** + * 后台编辑微讲堂 + * @param adminDTO + * @return + */ + @PostMapping("/fms/classroom/edit") + R editFmsClassroom(@RequestBody EditFmsClassroomAdminDTO adminDTO); + + /** + * 后台删除微讲堂 + * @param id + * @return + */ + @DeleteMapping("/fms/classroom/delete") + R deleteFmsClassroom(@RequestParam("id") Long id); + + /** + * 后台获取微讲堂详情 + * @param id + * @return + */ + @GetMapping("/fms/classroom/detail") + R detailFmsClassroom(@RequestParam("id") Long id); + + /** + * 后台分页查询微讲堂 + * @param adminDTO + * @return + */ + @PostMapping("/fms/classroom/pageAdmin") + R pageFmsClassroomAdmin(@RequestBody PageFmsClassroomAdminDTO adminDTO); + + /** + * 微讲堂顶部统计 + * @param communityId + * @return + */ + @GetMapping("/fms/classroom/statistics") + R statisticsFmsClassroom(@RequestParam("communityId") Long communityId); + + /** + * 后台分页查询微调节/微防控 + * @param adminDTO + * @return + */ + @PostMapping("/fms/event/page") + R pageFmsEvent(@RequestBody PageFmsEventAdminDTO adminDTO); + + /** + * 微调节/微防控顶部统计 + * @param type + * @param communityId + * @return + */ + @GetMapping("/fms/event/statistics") + R statisticsFmsEvent(@RequestParam("type") Integer type, @RequestParam("communityId") Long communityId); + + /** + * 微调节/微防控事件详情 + * @param eventId + * @return + */ + @GetMapping("/fms/event/detail") + R detailFmsEvent(@RequestParam("eventId") Long eventId); + + /** + * 小程序分页查询团队信息 + * @param pageFmsTeamDTO + * @return + */ + @PostMapping("/fms/team/pageApplets") + R pageFmsTeamApplets(@RequestBody PageFmsTeamDTO pageFmsTeamDTO); + + /** + * 获取微讲堂详情 + * @param id + * @return + */ + @GetMapping("/fms/classroom/detailApplets") + R detailFmsClassroomApplets(@RequestParam("id") Long id); + + /** + * 小程序分页查询微调节/微防控 + * @param adminDTO + * @return + */ + @PostMapping("/fms/event/pageApplets") + R pageFmsEventApplets(@RequestBody PageFmsEventAdminDTO adminDTO); + + /** + * 小程序分页查询微服务 + * @param adminDTO + * @return + */ + @PostMapping("/fms/service/pageApplets") + R pageFmsServiceApplets(@RequestBody PageFmsServiceAppletsDTO adminDTO); + + /** + * 小程序查看微服务详情 + * @param serviceId + * @param userId + * @return + */ + @GetMapping("/fms/service/detailApplets") + R detailFmsServiceApplets(@RequestParam("serviceId") Long serviceId, @RequestParam(value = "userId", required = false) Long userId); + + /** + * 微服务申请 + * @param adminDTO + * @return + */ + @PostMapping("/fms/service/apply") + R applyFmsService(@RequestBody ApplyFmsServiceDTO adminDTO); + + /** + * 分页查询我的微服务 + * @param adminDTO + * @return + */ + @PostMapping("/fms/service/pageMy") + R pageMyFmsService(@RequestBody PageFmsServiceAppletsDTO adminDTO); + + /** + * 微服务评价 + * @param evaluationFmsServiceDTO + * @return + */ + @PostMapping("/fms/service/evaluate") + R evaluateFmsService(@RequestBody EvaluationFmsServiceDTO evaluationFmsServiceDTO); + + /** + * 微团队成员分页查询服务处理 + * @param adminDTO + * @return + */ + @PostMapping("/fms/service/pageDeal") + R pageDealFmsService(@RequestBody PageFmsServiceAppletsDTO adminDTO); + + /** + * 微团队成员服务反馈 + * @param adminDTO + * @return + */ + @PostMapping("/fms/service/feedback") + R feedbackFmsService(@RequestBody FeedbackFmsServiceDTO adminDTO); + + /** + * 定时任务针对服务结束后3天还未评价的用户默认好评 + * @return + */ + @PostMapping("/fms/service/defaultPraise") + R timedTaskFmsServiceDefaultPraise(); + + @GetMapping("/activity/partyMemberCount") + R partyMemberCount(@RequestParam("communityId")Long communityId,@RequestParam("year")String year); + + /** + * 根据小区id查询楼栋列表 + * @param villageId 小区id + * @return 查询楼栋列表 + */ + @GetMapping("/building/getBuildListByVillageId") + R getBuildListByVillageId(@RequestParam(value = "villageId") Long villageId); + /** + * 党员活动详情数据 + * @return + */ + @PostMapping("/activity/partyMemberDetail") + R partyMemberDetail(@RequestBody CommonPage commonPage); + /** + * 导出党员活动详情数据 + * @return + */ + @PostMapping("/activity/exportPartyMemberDetail") + R exportPartyMemberDetail(@RequestBody CommonPage commonPage); + + /** + * 金沙定制页面-党建引领基础数据 + * @param communityId + * @return + */ + @GetMapping("/screen/partyBuildIng/base") + R getPartyBuildIngBaseData(@RequestParam("communityId") Long communityId); + + /** + * 党员活动展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/partyBuildIng/partyAct") + R pagePartyBuildIngAct(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 议事投票展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/partyBuildIng/discuss") + R pagePartyBuildIngDiscuss(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 金沙定制页面-四长四员 + * @param communityId + * @return + */ + @GetMapping("/screen/fourMember/base") + R getFourMemberBaseData(@RequestParam("communityId") Long communityId); + + /** + * 杨家坪定制页面-五微服务 + * @param communityId + * @return + */ + @GetMapping("/screen/fms/base") + R getFmsBaseData(@RequestParam("communityId") Long communityId); + + /** + * 杨家坪定制页面-微团队展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/fms/team") + R pageFmsTeam(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 杨家坪定制页面-居家养老基础数据 + * @param communityId + * @return + */ + @GetMapping("/screen/alarm/base") + R getAlarmBaseData(@RequestParam("communityId") Long communityId); + + /** + * 杨家坪定制页面-报警记录展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/alarm/record") + R pageAlarmRecord(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 杨家坪定制页面-报警设备点位图 + * @param communityId + * @return + */ + @GetMapping("/screen/alarm/pointMap") + R getAlarmPointMap(@RequestParam("communityId") Long communityId); + + /** + * 杨家坪定制页面-志愿服务 + * @param communityId + * @return + */ + @GetMapping("/screen/volunteer/base") + R getVolunteerBaseData(@RequestParam("communityId") Long communityId); + + /** + * 金沙定制页面-志愿线展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/partyBuildIng/microWish") + R pagePartyBuildIngMicroWish(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 金沙定制页面-四长四员解决问题展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/fourMember/resolve") + R pageFourMemberResolve(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 金沙定制页面-四长四员院落议事展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/courtyard/list") + R pageCourtyardDiscuss(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 金沙定制页面-院落议事 + * @param communityId + * @return + */ + @GetMapping("/screen/courtyard/base") + R getCourtyardBaseData(@RequestParam("communityId") Long communityId); + + /** + * description queryByPage 分页查询 + * + * @param comActEasyPhotoHandler 请求参数 + * @return 分页查询返回参数 + * @author lyq + * @date 2022-03-01 13:45:10 + */ + @PostMapping("/comActEasyPhotoHandler/page") + R queryEasyPhotoHandler(@RequestBody PageComActEasyPhotoHandlerDto comActEasyPhotoHandler); + + /** + * description edit 编辑数据 + * + * @param comActEasyPhotoHandler 请求参数 + * @return 编辑结果 + * @author lyq + * @date 2022-03-01 13:45:10 + */ + @PostMapping("/comActEasyPhotoHandler/edit") + R editEasyPhotoHandler(@RequestBody EditComActEasyPhotoHandlerDto comActEasyPhotoHandler); + + @GetMapping("/reserve/fiveCount") + R fiveCount(@RequestParam("reserveId") Long reserveId); + + /** + * 删除数据 + * + * @param id 主键结合 + * @return 删除结果 + */ + @GetMapping("/comActEasyPhotoMember/del") + R comActEasyPhotoMemberDelete(@RequestParam("id") Long id); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActEasyPhotoMember/queryAll") + R comActEasyPhotoMemberSelectAll(@RequestBody CommonPage commonPage); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActEasyPhotoMember/{id}") + R comActEasyPhotoMemberSelectOne(@PathVariable("id") Long id); + + /** + * 新增数据 + * + * @param comActEasyPhotoMemberVO 实体对象 + * @return 新增结果 + */ + @PostMapping("/comActEasyPhotoMember") + R comActEasyPhotoMemberInsert(@RequestBody ComActEasyPhotoMemberVO comActEasyPhotoMemberVO); + + /** + * 修改数据 + * + * @param comActEasyPhotoMemberVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActEasyPhotoMember/update") + R comActEasyPhotoMemberUpdate(@RequestBody ComActEasyPhotoMemberVO comActEasyPhotoMemberVO); + + /** + * 分页查询所有数据 + * + * @param comActAcidRecordDTO 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActAcidRecord/queryAll") + R selectAllComActAcidRecord(@RequestBody ComActAcidRecordDTO comActAcidRecordDTO); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActAcidRecord/{id}") + R selectOneComActAcidRecord(@PathVariable("id") Long id); + + /** + * 新增数据 + * + * @param comActAcidRecordVO 实体对象 + * @return 新增结果 + */ + @PostMapping("/comActAcidRecord") + R insertComActAcidRecord(@RequestBody ComActAcidRecordVO comActAcidRecordVO); + + /** + * 修改数据 + * + * @param comActAcidRecordVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActAcidRecord/update") + R updateComActAcidRecord(@RequestBody ComActAcidRecordVO comActAcidRecordVO); + + + /** + * 小程序修改填报记录 + * + * @param comActAcidRecordVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActAcidRecord/updateApplets") + R updateApplets(@RequestBody ComActAcidRecordVO comActAcidRecordVO); + + /** + * 删除数据 + * + * @param id 主键结合 + * @return 删除结果 + */ + @GetMapping("/comActAcidRecord/del") + R deleteComActAcidRecord(@RequestParam("id") Long id); + + /** + * 删除数据 + * + * @param id 主键结合 + * @return 删除结果 + */ + @GetMapping("/comActAcidRecord/detailByApp") + R detailByApp(@RequestParam("id") Long id,@RequestParam("localCity")String localCity); + + @GetMapping("/comActAcidRecord/charts") + R charts(@RequestParam("date")String date,@RequestParam("localCity")String localCity); + + @PostMapping("/comActAcidRecord/export") + R exportComActAcidRecord(@RequestBody ComActAcidRecordDTO comActAcidRecordDTO); + + + /** + * 5项常规统计 + * @return + */ + @GetMapping("/comActAcidRecord/fiveCount") + R comActAcidRecordFiveCount(@RequestParam("localCity")String localCity); + + /** + * 7项常规统计 + * @return + */ + @GetMapping("/comActAcidRecord/fiveCountPlus") + R comActAcidRecordFiveCountPlus(@RequestParam("date")String date,@RequestParam("localCity")String localCity); + + @GetMapping("/comActAcidRecord/statics") + R comActAcidRecordStatics(@RequestParam("date")String date); + + @GetMapping("/comActAcidRecord/test") + R test(); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActReserveDangerArea/queryAll") + R selectAllComActReserveDangerArea(@RequestBody CommonPage commonPage); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActReserveDangerArea/{id}") + R selectOneComActReserveDangerArea(@PathVariable("id") Long id); + + /** + * 修改数据 + * + * @param comActReserveDangerAreaVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActReserveDangerArea/update") + R updateComActReserveDangerArea(@RequestBody ComActReserveDangerAreaVO comActReserveDangerAreaVO); + + /** + * 删除数据 + * + * @param id 主键结合 + * @return 删除结果 + */ + @GetMapping("/comActReserveDangerArea/del") + R deleteComActReserveDangerArea(@RequestParam("id") Long id); + + /** + * 风险区数据统计 + * @return + */ + @GetMapping("/comActReserveDangerArea/statics") + R staticsComActReserveDangerArea(); + + /** + * 批量设置起始时间 + * @param editDangerBatchDTO + * @return + */ + @PostMapping("/comActReserveDangerArea/updateBatch") + R updateBatchComActReserveDangerArea(@RequestBody EditDangerBatchDTO editDangerBatchDTO); + + @GetMapping("/comAreaTownCommunity/areaTownCommunity") + R areaTownCommunity(@RequestParam("name")String name,@RequestParam("userId")Long userId); + + /** + * 物业公司详情 + * @param id + * @return + */ + @GetMapping("/comProperty/detail") + R detailProperty(@RequestParam("id") Long id); + + /** + * 添加物业工作人员 + * @param propertyWorkerDTO + * @return + */ + @PostMapping("/comPropertyWorker/add") + R addPropertyWorker(@RequestBody PropertyWorkerDTO propertyWorkerDTO); + + /** + * 编辑物业工作人员 + * @param propertyWorkerDTO + * @return + */ + @PutMapping("/comPropertyWorker/update") + R updatePropertyWorker(@RequestBody PropertyWorkerDTO propertyWorkerDTO); + + /** + * 删除物业工作人员 + * @param id + * @return + */ + @DeleteMapping("/comPropertyWorker/delete") + R deletePropertyWorker(@RequestParam("id") Long id); + + /** + * 分页查询物业工作人员 + * @param pagePropertyWorkerDTO + * @return + */ + @PostMapping("/comPropertyWorker/page") + R pagePropertyWorker(@RequestBody PagePropertyWorkerDTO pagePropertyWorkerDTO); + + /** + * 物业工作人员详情 + * @param id + * @return + */ + @GetMapping("/comPropertyWorker/detail") + R detailPropertyWorker(@RequestParam("id") Long id); + + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActAcidMember/queryAll") + R selectAllComActAcidMember(@RequestBody ComActAcidMemberDTO commonPage); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActAcidMember/{id}") + R selectOneComActAcidMember(@PathVariable("id") Long id); + + /** + * 新增数据 + * + * @param comActAcidMemberVO 实体对象 + * @return 新增结果 + */ + @PostMapping("/comActAcidMember") + R insertComActAcidMember(@RequestBody ComActAcidMemberVO comActAcidMemberVO); + + /** + * 修改数据 + * + * @param comActAcidMemberVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActAcidMember/update") + R updateComActAcidMember(@RequestBody ComActAcidMemberVO comActAcidMemberVO); + + /** + * 删除数据 + * + * @param id 主键结合 + * @return 删除结果 + */ + @GetMapping("/comActAcidMember/del") + R deleteComActAcidMember(@RequestParam("id") Long id); + + /** + * 分页查询风险人员 + * @param pageDangerMemberDTO + * @return + */ + @PostMapping("/comActAcidDangerMember/page") + R pageDangerMember(@RequestBody PageDangerMemberDTO pageDangerMemberDTO); + + /** + * 后台分页查询风险人员 + * @param pageDangerMemberDTO + * @return + */ + @PostMapping("/comActAcidDangerMember/queryAll") + R pageDangerMemberAdmin(@RequestBody ComActAcidDangerMemberDTO pageDangerMemberDTO); + + /** + * 列表查询 + * + * @param comActAcidCheckRecordDTO 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActAcidCheckRecord/queryAll") + R selectAllComActAcidCheckRecord(@RequestBody ComActAcidCheckRecordDTO comActAcidCheckRecordDTO); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActAcidCheckRecord/{id}") + R selectOneComActAcidCheckRecord(@PathVariable("id") Long id); + + /** + * 新增数据 + * + * @param comActAcidCheckRecordVO 实体对象 + * @return 新增结果 + */ + @PostMapping("/comActAcidCheckRecord") + R insertComActAcidCheckRecord(@RequestBody ComActAcidCheckRecordVO comActAcidCheckRecordVO); + + /** + * 修改数据 + * + * @param comActAcidCheckRecordVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActAcidCheckRecord/update") + R updateComActAcidCheckRecord(@RequestBody ComActAcidCheckRecordVO comActAcidCheckRecordVO); + + @GetMapping("/bcRegion/levelList") + R levelList(@RequestParam("level")Integer level,@RequestParam("code")String code); + + @GetMapping("/bcRegion/levelListBackstage") + R levelListBackstage(); + + /** + * 单位活动统计 + */ + @GetMapping("/neighbor/activityAnalysis") + R institutionalUnitServiceAnalysis(@RequestParam(value = "year",required = false) Integer year,@RequestParam(value = "type",required = false) Integer type, + @RequestParam(value = "range",required = false)Integer range,@RequestParam(value = "communityId",required = false) Long communityId, + @RequestParam(value = "page",required = false) Integer page, + @RequestParam(value = "size",required = false) Integer size, + @RequestParam(value = "belongTo",required = false) String belongTo, + @RequestParam(value = "unitId",required = false) Long unitId); + /** + * 批量删除活动 + * @param ids + * @return + */ + @PostMapping("batchDel") + R deleteActivities(@RequestBody List<Long> ids); + + /** + * 街道详情 + * @param id + * @return + */ + @GetMapping("detailStreet") + R detailStreet(@RequestParam("id") Long id); + + /** + * 分页查询项目报名列表 + * @param pageProjectSignListDTO + * @return + */ + @PostMapping("/comActSocialProject/signList") + R pageProjectSignList(@RequestBody PageProjectSignListDTO pageProjectSignListDTO); + + /** + * 分页查询孵化申请 + * @param pageHatchAuditDTO + * @return + */ + @PostMapping("/comActSocialOrgHatchAudit/page") + R pageHatchAudit(@RequestBody PageSocialOrgHatchAuditDTO pageHatchAuditDTO); + + /** + * 查看孵化申请详情 + * @param id + * @return + */ + @GetMapping("/comActSocialOrgHatchAudit/detail") + R detailHatchAudit(@RequestParam("id") Long id); + + /** + * 修改孵化申请 + * @param hatchAuditDTO + * @return + */ + @PostMapping("/comActSocialOrgHatchAudit/update") + R updateHatchAudit(@RequestBody SocialOrgHatchAuditDTO hatchAuditDTO); + + /** + * 分页查询孵化数据 + * @param pageHatchDTO + * @return + */ + @PostMapping("/comActSocialOrgHatch/page") + R pageOrgHatch(@RequestBody PageSocialOrgHatchDTO pageHatchDTO); + + /** + * 查看孵化数据详情 + * @param id + * @return + */ + @GetMapping("/comActSocialOrgHatch/detail") + R detailOrgHatch(@RequestParam("id") Long id); + + /** + * 修改孵化状态 + * @param id + * @param status + * @return + */ + @PutMapping("/comActSocialOrgHatch/updateStatus") + R updateOrgHatchStatus(@RequestParam("id") Long id, @RequestParam("status") Integer status); + + /** + * 获取孵化流程配置 + * @return + */ + @GetMapping("/comActSocialOrgHatchAudit/process") + R getHatchAuditProcess(); + + /** + * 修改孵化流程配置 + * @param processDTO + * @return + */ + @PutMapping("/comActSocialOrgHatchAudit/process") + R putHatchAuditProcess(@RequestBody HatchAuditProcessDTO processDTO); + + /** + * 新增孵化申请 + * @param hatchAuditDTO + * @return + */ + @PostMapping("/comActSocialOrgHatchAudit/add") + R addHatchAudit(@RequestBody SocialOrgHatchAuditDTO hatchAuditDTO); + + /** + * 查看孵化申请审核进度 + * @param userId + * @return + */ + @GetMapping("/comActSocialOrgHatchAudit/schedule") + R getHatchAuditSchedule(@RequestParam("userId") Long userId); + + /** + * 项目公开报名 + * @param projectId + * @param userId + * @return + */ + @GetMapping("/comActSocialProject/sign") + R signProject(@RequestParam("projectId") Long projectId, @RequestParam("userId") Long userId); + + /** + * 分页查询用户报名的项目 + * @param pageProjectDTO + * @return + */ + @PostMapping("/comActSocialProject/project") + R pageProjectWhichIsSignedByUser(@RequestBody PageProjectDTO pageProjectDTO); + + /** + * 删除孵化申请详情 + * @param id + * @return + */ + @GetMapping("/comActSocialOrgHatchAudit/delete") + R deleteHatchAudit(@RequestParam("id") Long id); + + /** + * 删除孵化数据 + * @param id + * @return + */ + @GetMapping("/comActSocialOrgHatch/delete") + R deleteOrgHatch(@RequestParam("id") Long id); + + /** + * 新增社区企业 + * @param addEnterpriseDTO + * @return + */ + @PostMapping("/enterprise/add") + R addEnterprise(@RequestBody AddEnterpriseDTO addEnterpriseDTO); + + /** + * 修改社区企业 + * @param editEnterpriseDTO + * @return + */ + @PostMapping("/enterprise/edit") + R editEnterprise(@RequestBody EditEnterpriseDTO editEnterpriseDTO); + + /** + * 删除社区企业 + * @param id + * @return + */ + @DeleteMapping("/enterprise/delete") + R deleteEnterprise(@RequestParam("id") Long id); + + /** + * 获取社区企业详情 + * @param id + * @return + */ + @GetMapping("/enterprise/detail") + R detailEnterprise(@RequestParam("id") Long id); + + /** + * 分页查询社区企业 + * @param pageEnterpriseDTO + * @return + */ + @PostMapping("/enterprise/page") + R pageEnterprise(@RequestBody PageEnterpriseDTO pageEnterpriseDTO); + + /** + * 孵化中心-基础数据 + * @param communityId + * @return + */ + @GetMapping("/screen/hatch/base") + R getHatchBaseData(@RequestParam("communityId") Long communityId); + + /** + * 孵化中心-孵化成果展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/hatchResult/list") + R pageHatchResult(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 孵化中心-孵化进度展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/hatchSchedule/list") + R pageHatchSchedule(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 五社联动基础数据 + * @param communityId + * @return + */ + @GetMapping("/screen/fiveAssociations/base") + R getFiveAssociationsBaseData(@RequestParam("communityId") Long communityId); + + /** + * 五社联动项目展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/socialProject/list") + R pageSocialProjectList(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 五社联动社会组织展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/screen/socialOrg/list") + R pageSocialOrgList(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 新增服务分类 + * @param addEnterpriseTypeDTO + * @return + */ + @PostMapping("/enterpriseType/add") + R addEnterpriseType(@RequestBody AddEnterpriseTypeDTO addEnterpriseTypeDTO); + + /** + * 修改服务分类 + * @param enterpriseTypeDTO + * @return + */ + @PostMapping("/enterpriseType/edit") + R editEnterpriseType(@RequestBody EditEnterpriseTypeDTO enterpriseTypeDTO); + + /** + * 删除服务分类 + * @param id + * @return + */ + @DeleteMapping("/enterpriseType/delete") + R deleteEnterpriseType(@RequestParam("id") Long id); + + /** + * 获取服务分类详情 + * @param id + * @return + */ + @GetMapping("/enterpriseType/detail") + R detailEnterpriseType(@RequestParam("id") Long id); + /** + * 分页查询服务分类 + * @param pageEnterpriseTypeDTO + * @return + */ + @PostMapping("/enterpriseType/page") + R pageEnterpriseType(@RequestBody PageEnterpriseTypeDTO pageEnterpriseTypeDTO); + + /** + * 获取服务分类列表 + * @param communityId + * @return + */ + @GetMapping("/enterpriseType/list") + R getEnterpriseTypeList(@RequestParam("communityId") Long communityId); + + /** + * 新增人大代表 + * @param addDpcDTO + * @return + */ + @PostMapping("/dpc/add") + R addDpc(@RequestBody AddDpcDTO addDpcDTO); + + /** + * 修改人大代表 + * @param editDpcDTO + * @return + */ + @PostMapping("/dpc/edit") + R editDpc(@RequestBody EditDpcDTO editDpcDTO); + + /** + * 删除人大代表 + * @param id + * @return + */ + @DeleteMapping("/dpc/delete") + R deleteDpc(@RequestParam("id") Long id); + + /** + * 获取人大代表详情 + * @param id + * @return + */ + @GetMapping("/dpc/detail") + R detailDpc(@RequestParam("id") Long id); + + /** + * 分页查询人大代表 + * @param pageDpcDTO + * @return + */ + @PostMapping("/dpc/page") + R pageDpc(@RequestBody PageDpcDTO pageDpcDTO); + + /** + * 获取人大代表反馈记录 + * @param id + * @return + */ + @GetMapping("/dpc/feedback") + R getFeedbackList(@RequestParam("id") Long id); + + /** + * 人大代表反馈随手拍 + * @param comActEasyPhotoVO + * @return + */ + @PostMapping("/dpc/feedback") + R addEasyPhotoFeedbackForDpc(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO); + + /** + * 人大代表 + * @param communityId + * @return + */ + @GetMapping("/screen/dpc/base") + R dpcBase(@RequestParam("communityId") Long communityId); + + /** + * 人大代表-随手拍展示列表 + * @return + */ + @PostMapping("/screen/dpc/easyPhotoList") + R dpcEasyPhotoList(@RequestBody PageBaseDTO pageBaseDTO); + + /** + * 查询详情 + * @param id + * @return + */ + @GetMapping("/comActEasyPhotoHandler/detail") + R detailEasyPhotoHandler(@RequestParam("id") Long id); } -- Gitblit v1.7.1