新增一些公共查询方法
This commit is contained in:
@@ -61,6 +61,14 @@ public class DataVServiceImpl implements IDataVService {
|
||||
return result1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<DataV> getNewDataV(String lineIndex, String startTime, String endTime) {
|
||||
InfluxQueryWrapper influxQueryWrapper = new InfluxQueryWrapper(DataV.class);
|
||||
influxQueryWrapper.eq(DataV::getLineId, lineIndex)
|
||||
.between(DataV::getTime, startTime, endTime);;
|
||||
return dataVMapper.getStatisticsByWraper(influxQueryWrapper);
|
||||
}
|
||||
|
||||
|
||||
/***
|
||||
* 自定义需要查询的谐波次数
|
||||
|
||||
Reference in New Issue
Block a user