Commit 201e6146 authored by hanbing's avatar hanbing

[update] 修改路口状态统计方式

parent 3a80bb54
......@@ -376,15 +376,6 @@ public class TrendServiceImpl implements TrendService {
} else if (realtimeStatus == 3) {
spillover += 1;
}
if (realtimeStatus !=1 && abnormalCrossListVO.getIsUnbalance() == 1) {
unbalance += 1;
}
if (realtimeStatus !=2 && abnormalCrossListVO.getIsCongestion() ==1) {
congestion += 1;
}
if (realtimeStatus !=3 && abnormalCrossListVO.getIsSpillover() == 1) {
spillover += 1;
}
}
abnormalCrossStats.setNormal(normal);
abnormalCrossStats.setUnbalance(unbalance);
......
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