微调
This commit is contained in:
@@ -86,7 +86,7 @@ public class HarmInHarmServiceImpl implements HarmInHarmService {
|
||||
DataHarmRateV dataHarmRateV = dataHarmRateVService.getMeanAllTimesData(influxQueryWrapper);
|
||||
if(Objects.nonNull(dataHarmRateV)){
|
||||
for (int i = 2; i < 51; i++) {
|
||||
floatList.add(PubUtils.getValueByMethod(dataHarmRateV, "getV", i));
|
||||
floatList.add(PubUtils.getValueByMethodDouble(dataHarmRateV, "getV", i).floatValue());
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -99,7 +99,7 @@ public class HarmInHarmServiceImpl implements HarmInHarmService {
|
||||
DataI dataI = dataIService.getMeanAllTimesData(influxQueryWrapper);
|
||||
if(Objects.nonNull(dataI)){
|
||||
for (int i = 2; i < 51; i++) {
|
||||
floatList.add(PubUtils.getValueByMethod(dataI, "getI", i));
|
||||
floatList.add(PubUtils.getValueByMethodDouble(dataI, "getI", i).floatValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user