调整数据

This commit is contained in:
wr
2025-05-14 13:50:00 +08:00
parent 5b0acaa1c0
commit 65c6fd3df1

View File

@@ -1064,11 +1064,9 @@ public class IDataCrossingServiceImpl implements IDataCrossingService {
json.setValueType(split[1]);
json.setTime(String.join(",", value.stream()
.map(abnormal -> abnormal.getTime())
.distinct()
.collect(Collectors.toList())));
json.setValue(String.join(",", value.stream()
.map(abnormal -> abnormal.getValue() + "")
.distinct()
.collect(Collectors.toList())));
info.add(json);
});