1.分钟数据转统计数据mysql日表之外添加inflxudb日表

2.报表默认查询influxdb日表
This commit is contained in:
2024-11-26 19:49:48 +08:00
parent b3015c2dcb
commit 3377da4ae3
3 changed files with 1162 additions and 981 deletions

View File

@@ -1,4 +1,4 @@
package com.njcn.harmonic.controller;
package com.njcn.harmonic.controller.report;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njcn.common.pojo.annotation.OperateInfo;
@@ -42,6 +42,21 @@ public class CustomReportController extends BaseController {
private final CustomReportService customReportService;
/**
* 替换报表数据并返回
* @author qijian
* @date 2022/10/19
*/
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
@PostMapping("/getCustomReport")
@ApiOperation("获取报表")
@ApiImplicitParam(name = "reportSearchParam", value = "查询体", required = false)
public void getCustomReport(@RequestBody ReportSearchParam reportSearchParam, HttpServletResponse response) {
customReportService.getCustomReport(reportSearchParam,response);
}
/**
* 新增自定义报表模板
* @author cdf
@@ -222,19 +237,7 @@ public class CustomReportController extends BaseController {
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, res, methodDescribe);
}
/**
* 替换报表数据并返回
* @author qijian
* @date 2022/10/19
*/
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
@PostMapping("/getCustomReport")
@ApiOperation("获取报表")
@ApiImplicitParam(name = "reportSearchParam", value = "查询体", required = false)
public void getCustomReport(@RequestBody ReportSearchParam reportSearchParam, HttpServletResponse response) {
String methodDescribe = getMethodDescribe("getCustomReport");
customReportService.getCustomReport(reportSearchParam,response);
}
/**