修改bug
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user