Commit ce009c3b authored by duanruiming's avatar duanruiming

[add] 重点路口排序问题

parent cdbaae0c
...@@ -1817,9 +1817,6 @@ public class TrendServiceImpl implements TrendService { ...@@ -1817,9 +1817,6 @@ public class TrendServiceImpl implements TrendService {
} }
} }
} }
if (StringUtils.isNotBlank(crossId)) {
return hotspotCrossVOS.stream().sorted(Comparator.comparing(HotspotCrossVO::getTimeStamp).reversed()).collect(Collectors.toList());
}
return hotspotCrossVOS.stream().sorted(Comparator.comparing(HotspotCrossVO::getTimeStamp)).collect(Collectors.toList()); return hotspotCrossVOS.stream().sorted(Comparator.comparing(HotspotCrossVO::getTimeStamp)).collect(Collectors.toList());
} catch (Exception e) { } catch (Exception e) {
log.error("重点路口监测异常:", e); log.error("重点路口监测异常:", e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment