Commit 298f06e3 authored by hanbing's avatar hanbing

信控优化-路口状态统计

parent cbfe8a8d
...@@ -296,13 +296,13 @@ public class TrendServiceImpl implements TrendService { ...@@ -296,13 +296,13 @@ public class TrendServiceImpl implements TrendService {
} else if (realtimeStatus == 3) { } else if (realtimeStatus == 3) {
spillover += 1; spillover += 1;
} }
if (abnormalCrossListVO.getIsUnbalance() == 1) { if (realtimeStatus !=1 && abnormalCrossListVO.getIsUnbalance() == 1) {
unbalance += 1; unbalance += 1;
} }
if (abnormalCrossListVO.getIsCongestion() ==1) { if (realtimeStatus !=2 && abnormalCrossListVO.getIsCongestion() ==1) {
congestion += 1; congestion += 1;
} }
if (abnormalCrossListVO.getIsSpillover() == 1) { if (realtimeStatus !=3 && abnormalCrossListVO.getIsSpillover() == 1) {
spillover += 1; spillover += 1;
} }
} }
......
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