From 51ee3c4db2eb49062d3236bf44f95dc22f8f6ac9 Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期五, 14 一月 2022 17:59:03 +0800 Subject: [PATCH] 商业街bug修改 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BigScreenStatisticsApi.java | 65 ++++++++++++++++++++++++++++++++ 1 files changed, 65 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BigScreenStatisticsApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BigScreenStatisticsApi.java index 778fb00..8ae1dae 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BigScreenStatisticsApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BigScreenStatisticsApi.java @@ -2,6 +2,7 @@ import javax.annotation.Resource; +import com.panzhihua.service_community.service.ComActService; import com.panzhihua.common.model.dtos.PageBaseDTO; import com.panzhihua.common.model.dtos.community.convenient.PagePopularMerchantDTO; import com.panzhihua.service_community.service.BigScreenStatisticsService; @@ -22,6 +23,8 @@ @Resource private ComMngPopulationService comMngPopulationService; + @Resource + private ComActService comActService; @Resource private BigScreenService bigScreenService; @Resource @@ -87,6 +90,29 @@ return R.ok(comMngPopulationService.getScreenEventDetail(eventDetailDTO)); } + /** + * 西区大屏治理数据 + */ + @GetMapping("/getWestScreenStatics") + public R westScreenStatics(){ + return comMngPopulationService.westScreenStatics(); + } + + @GetMapping("/getComprehensivePopulationStatics") + public R getComprehensivePopulationStatics(@RequestParam("streetId") Long streetId){ + return comMngPopulationService.getComprehensivePopulationStatics(streetId); + } + + @GetMapping("/getComprehensiveStreetList") + public R getComprehensiveStreetList(){ + return comMngPopulationService.getComprehensiveStreetList(); + } + + + @GetMapping("/getCommunityPassword") + public R getCommunityPassword(@RequestParam("communityId") Long communityId){ + return comActService.getCommunityPassword(communityId); + } /** * 新版大屏首页接口 */ @@ -270,4 +296,43 @@ return bigScreenStatisticsService.getScreenPopularMerchants(pagePopularMerchantDTO); } + /** + * 首页二级页面-居民活动 + * @param communityId + * @return + */ + @GetMapping("/index/residentAct") + public R indexResidentAct(@RequestParam("communityId") Long communityId) { + return bigScreenStatisticsService.indexResidentAct(communityId); + } + + /** + * 首页二级页面-居民活动展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/index/residentActList") + public R indexResidentActList(@RequestBody PageBaseDTO pageBaseDTO) { + return bigScreenStatisticsService.indexResidentActList(pageBaseDTO); + } + + /** + * 首页二级页面-志愿者活动 + * @param communityId + * @return + */ + @GetMapping("/index/volunteerAct") + public R indexVolunteerAct(@RequestParam("communityId") Long communityId) { + return bigScreenStatisticsService.indexVolunteerAct(communityId); + } + + /** + * 首页二级页面-志愿者活动展示列表 + * @param pageBaseDTO + * @return + */ + @PostMapping("/index/volunteerActList") + public R indexVolunteerActList(@RequestBody PageBaseDTO pageBaseDTO) { + return bigScreenStatisticsService.indexVolunteerActList(pageBaseDTO); + } } -- Gitblit v1.7.1