Commit ee5b973e authored by duanruiming's avatar duanruiming

[update] 济南测试平台-同比环比优化

parent 2d4f99d8
......@@ -306,7 +306,7 @@ public class TrendServiceImpl implements TrendService {
return 0.0;
}
Double lastCongestionIndex = lastHistPO.getCongestionIndex();
return Math.abs((congestionIndex - lastCongestionIndex))/ lastCongestionIndex * 100;
return (congestionIndex - lastCongestionIndex)/ lastCongestionIndex * 100;
}
private static class CrossComparator implements Comparator<AbnormalCrossListVO> {
......
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