公共查询方法新增谐波次数标识

This commit is contained in:
guofeihu
2024-09-13 14:28:14 +08:00
parent 067f49cda7
commit ad5833f48a
3 changed files with 8 additions and 1 deletions

View File

@@ -108,6 +108,9 @@ public class CommonServiceImpl implements CommonService {
influxQueryWrapper.eq(InfluxDBTableConstant.CL_DID, commonQueryParam.getClDid());
}
List<StatisticalDataDTO> deviceRtData = commonMapper.getDeviceRtDataByTime(influxQueryWrapper);
for(StatisticalDataDTO statisticalDataDTO : deviceRtData){
statisticalDataDTO.setFrequency(commonQueryParam.getFrequency());
}
resultList.addAll(deviceRtData);
}