Commit f1fd3eaa authored by duanruiming's avatar duanruiming

[add] 路口交通指标5分钟流量bug优化

parent 222b6a96
......@@ -458,7 +458,7 @@ public class TrendServiceImpl implements TrendService {
//String serviceLevel = CrossUtil.getServiceLevel(sturation);
abnormalCrossDetailVO.setServiceLevel(crossDataRealtimePO.getServiceLevel());
abnormalCrossDetailVO.setHourFlow(crossDataRealtimePO.getFlow() * 12);
abnormalCrossDetailVO.setHourFlow(crossDataRealtimePO.getFlow());
abnormalCrossDetailVO.setMinuteFlow(crossDataRealtimePO.getFlow());
BigDecimal bigDecimal = BigDecimal.valueOf(crossDataRealtimePO.getTrafficIndex()).setScale(2, RoundingMode.HALF_UP);
abnormalCrossDetailVO.setCongestionIndex(bigDecimal);
abnormalCrossDetailVO.setTrafficIndex(bigDecimal);
......
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