1.分钟数据转统计数据mysql日表之外添加inflxudb日表
2.报表默认查询influxdb日表
This commit is contained in:
@@ -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.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
import com.njcn.common.pojo.annotation.OperateInfo;
|
import com.njcn.common.pojo.annotation.OperateInfo;
|
||||||
@@ -42,6 +42,21 @@ public class CustomReportController extends BaseController {
|
|||||||
|
|
||||||
private final CustomReportService customReportService;
|
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
|
* @author cdf
|
||||||
@@ -222,19 +237,7 @@ public class CustomReportController extends BaseController {
|
|||||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, res, methodDescribe);
|
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);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user