diff --git a/algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/serviceimpl/line/IDataCrossingServiceImpl.java b/algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/serviceimpl/line/IDataCrossingServiceImpl.java index d22fdf0..96979f3 100644 --- a/algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/serviceimpl/line/IDataCrossingServiceImpl.java +++ b/algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/serviceimpl/line/IDataCrossingServiceImpl.java @@ -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); });