| | |
| | | import com.ruoyi.system.model.*; |
| | | import com.ruoyi.system.query.StoryListQuery; |
| | | import com.ruoyi.system.service.*; |
| | | import com.ruoyi.system.vo.ClientDashboardQuery; |
| | | import com.ruoyi.system.vo.ClientDashboardVO; |
| | | import com.ruoyi.system.vo.ScreenUserVo; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | return R.ok(accidentBrief); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取委托方大屏首页统计数据 |
| | | * |
| | | * @param query 查询参数 |
| | | * @return 统计数据 |
| | | */ |
| | | @PostMapping("/index") |
| | | @ApiOperation("获取委托方大屏首页统计数据") |
| | | public R<ClientDashboardVO> index(@RequestBody ClientDashboardQuery query) { |
| | | ClientDashboardVO dashboard = clientService.getClientDashboard(query); |
| | | return R.ok(dashboard); |
| | | } |
| | | |
| | | |
| | | |