| | |
| | | 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; |
| | |
| | | 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); |
| | | } |
| | | } |