同步监测点上级变电站信息

This commit is contained in:
xy
2024-08-05 08:43:05 +08:00
parent af6f35dfad
commit ef03549ebb
11 changed files with 176 additions and 9 deletions

View File

@@ -24,7 +24,6 @@ import javax.annotation.Resource;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.temporal.ChronoUnit;
import java.time.temporal.TemporalUnit;
import java.util.*;
import java.util.stream.Collectors;
@@ -40,7 +39,7 @@ public class InfluxManufactServiceImpl implements IInfluxManufactService {
private final DataVMapper dataVMapper;
private final IDataIMapper dataIMapper;
private final DataIMapper dataIMapper;
private final DataInHarmVMapper dataInHarmVMapper;
@@ -162,7 +161,7 @@ public class InfluxManufactServiceImpl implements IInfluxManufactService {
while (startTime.isBefore(endTime)) {
//电压
Map<String, List<DataV>> stringListMapDataV = dataVList.stream().collect(Collectors.groupingBy(obj -> obj.getPhasicType().concat(StrPool.UNDERLINE).concat(obj.getValueType())));
Map<String, List<DataV>> stringListMapDataV = dataVList.stream().collect(Collectors.groupingBy(obj -> obj.getPhaseType().concat(StrPool.UNDERLINE).concat(obj.getValueType())));
for (String string : stringListMapDataV.keySet()) {
DataV tempEle = new DataV();
List<DataV> dataVS = stringListMapDataV.get(string);