Commit bd8321da086da26e0ad1525fa370cb3cecadd043
1 parent
a15528ca
update...
Showing
1 changed file
with
4 additions
and
1 deletions
src/main/java/com/bsth/data/gpsdata_v2/handlers/OutStationProcess.java
| @@ -61,7 +61,10 @@ public class OutStationProcess { | @@ -61,7 +61,10 @@ public class OutStationProcess { | ||
| 61 | //起点发车 | 61 | //起点发车 |
| 62 | if (null != sch && sch.getQdzCode().equals(gps.getStopNo())){ | 62 | if (null != sch && sch.getQdzCode().equals(gps.getStopNo())){ |
| 63 | //发车班次匹配 | 63 | //发车班次匹配 |
| 64 | - signalSchPlanMatcher.outMatch(gps, sch); | 64 | + if(!signalSchPlanMatcher.outMatch(gps, sch)){ |
| 65 | + outStation(gps); | ||
| 66 | + return; | ||
| 67 | + } | ||
| 65 | 68 | ||
| 66 | gps.setPremiseCode(null);//清除前置围栏标记 | 69 | gps.setPremiseCode(null);//清除前置围栏标记 |
| 67 | 70 |