自定义报表问题处理

This commit is contained in:
2023-09-07 19:43:09 +08:00
parent 744408ff08
commit 8fa7e6521a

View File

@@ -483,8 +483,8 @@ public class CustomReportServiceImpl implements CustomReportService {
assSql(data, sql, endList, InfluxDbSqlConstant.MAX, reportSearchParam); assSql(data, sql, endList, InfluxDbSqlConstant.MAX, reportSearchParam);
} else if (InfluxDbSqlConstant.MIN.equalsIgnoreCase(data.getStatMethod())) { } else if (InfluxDbSqlConstant.MIN.equalsIgnoreCase(data.getStatMethod())) {
assSql(data, sql, endList, InfluxDbSqlConstant.MIN, reportSearchParam); assSql(data, sql, endList, InfluxDbSqlConstant.MIN, reportSearchParam);
} else if (InfluxDbSqlConstant.AVG.equalsIgnoreCase(data.getStatMethod())) { } else if (InfluxDbSqlConstant.AVG_WEB.equalsIgnoreCase(data.getStatMethod())) {
assSql(data, sql, endList, InfluxDbSqlConstant.MEAN, reportSearchParam); assSql(data, sql, endList, InfluxDbSqlConstant.AVG, reportSearchParam);
} else if (InfluxDbSqlConstant.CP95.equalsIgnoreCase(data.getStatMethod())) { } else if (InfluxDbSqlConstant.CP95.equalsIgnoreCase(data.getStatMethod())) {
assSql(data, sql, endList, InfluxDbSqlConstant.PERCENTILE, reportSearchParam); assSql(data, sql, endList, InfluxDbSqlConstant.PERCENTILE, reportSearchParam);
} }