| | |
| | | return CommonResult.success(data); |
| | | } |
| | | |
| | | @GetMapping("/alarm-suggest/page") |
| | | @PostMapping("/alarm-suggest/page") |
| | | @Operation(summary = "获取预警信息和调度建议分页列表") |
| | | public CommonResult<PageResult<StAlarmAndSuggestRespVO>> getAlarmAndSuggestPage(@RequestBody StAlarmAndSuggestPageReqVO reqVO) { |
| | | PageResult<StAlarmAndSuggestRespVO> page = mcsApi.getAlarmAndSuggestPage(reqVO); |
| | | return success(BeanUtils.toBean(page, StAlarmAndSuggestRespVO.class)); |
| | | } |
| | | |
| | | @GetMapping("/chart/param/list") |
| | | @Operation(summary = "图表配置列表") |
| | | public CommonResult<List<ChartParamDTO>> getChartParamList(@RequestParam("chartCode") String chartCode) { |
| | | List<ChartParamDTO> chartParamList = mcsApi.getChartParamList(chartCode); |
| | | return CommonResult.success(chartParamList); |
| | | } |
| | | } |