From d6aabd981bf80cd57c09819f42b1c4e79f1904f9 Mon Sep 17 00:00:00 2001 From: manailin <261030956@qq.com> Date: 星期三, 21 九月 2022 10:13:50 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/sanshuohuitang_dev' into sanshuohuitang_dev --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java index 9f81c6e..af1a971 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java @@ -3,6 +3,8 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.panzhihua.common.controller.BaseController; import com.panzhihua.common.enums.SanShuoEventStatusEnum; +import com.panzhihua.common.model.dtos.community.sanshuo.IndexDateDTO; +import com.panzhihua.common.model.dtos.user.IndexDataDTO; import com.panzhihua.common.model.vos.LoginUserInfoVO; import com.panzhihua.common.model.vos.R; import com.panzhihua.common.model.vos.sanshuo.ComEventArchiveVO; @@ -313,4 +315,21 @@ public R calculate() { return comEventService.calculate(); } + + /** + * 大屏事件统计 + * @param indexDataDTO 查询参数 + * */ + @PostMapping("/indexData") + public R indexData(@RequestBody IndexDateDTO indexDataDTO ){ + return comEventService.indexData(indexDataDTO); + } + + /** + * 大屏事件统计(事件和专家各级别占比) + * */ + @GetMapping("/indexData/event") + public R eventIndexData(@RequestParam Integer type){ + return comEventService.eventIndexData(type); + } } -- Gitblit v1.7.1