修改bug

This commit is contained in:
hzj
2025-03-07 15:55:55 +08:00
parent 7220c526ce
commit 400b8cde31

View File

@@ -443,7 +443,8 @@ public class HistoryResultServiceImpl implements HistoryResultService {
//谐波电压含有率 //谐波电压含有率
if (number == 1) { if (number == 1) {
targetName = "基波电压幅值"; targetName = "基波电压幅值";
sql = "SELECT time as time, v_1 as aValue ," + InfluxDBTableConstant.PHASIC_TYPE + " FROM data_harmrate_v WHERE " + stringBuilder + //修改幅值表
sql = "SELECT time as time, v_1 as aValue ," + InfluxDBTableConstant.PHASIC_TYPE + " FROM data_v WHERE " + stringBuilder +
" and (phasic_type ='A' or phasic_type ='B' or phasic_type ='C') order by time asc tz('Asia/Shanghai');"; " and (phasic_type ='A' or phasic_type ='B' or phasic_type ='C') order by time asc tz('Asia/Shanghai');";
unit.add(pqsDeviceUnit.getPhaseVoltage()); unit.add(pqsDeviceUnit.getPhaseVoltage());
} else { } else {