| | |
| | | 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); |
| | | } |
| | | |
| | | @PostMapping("/predict-data/doubleValue") |
| | | @Operation(summary = "获取多个预测项Double类型数据") |
| | | public CommonResult<Map<String, Map<String,Double>>> getPreDoubleData(@RequestBody PreDoubleDataReqVO reqVO) { |
| | | Map<String, Map<String,Double>> map = mcsApi.getPreDoubleData(reqVO); |
| | | return CommonResult.success(map); |
| | | } |
| | | } |