谐波监测:畸变率异常bug
This commit is contained in:
@@ -74,7 +74,7 @@ public class DistortionRateServiceImpl implements DistortionRateService {
|
||||
|
||||
private List<DataVPO> getDistortionRateInfluxDb(String lineId, String date) {
|
||||
String processParam = " and line_id = '" + lineId + "' and time >= '" + date + " 00:00:00' and time <= '" + date + " 23:59:59' tz('Asia/Shanghai')";
|
||||
QueryResult result = influxDbUtils.query ("SELECT line_id, max(v_thd) as v_thd FROM data_v WHERE phasic_type != 'T' and value_type = 'MAX'" + processParam);
|
||||
QueryResult result = influxDbUtils.query ("SELECT line_id, max(v_thd) as v_thd FROM data_v WHERE phasic_type != 'T' and value_type = 'CP95'" + processParam);
|
||||
InfluxDBResultMapper resultMapper = new InfluxDBResultMapper ( );
|
||||
return resultMapper.toPOJO (result, DataVPO.class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user