Commit 20d60a359d65b5907def5e689783c032562df308

Authored by 潘钊
1 parent 62493ac8

update...

src/main/java/com/bsth/data/gpsdata/arrival/handlers/InOutStationSignalHandle.java
... ... @@ -260,7 +260,7 @@ public class InOutStationSignalHandle extends SignalHandle{
260 260 //如果当前班次是出场,并且进的是下一个班次的终点
261 261 if(sch.getBcType().equals("out")){
262 262 ScheduleRealInfo next = dayOfSchedule.next(sch);
263   - if(next.getZdzCode().equals(gps.getStopNo())){
  263 + if(next != null && next.getZdzCode().equals(gps.getStopNo())){
264 264 List<ScheduleRealInfo> halfList = dayOfSchedule.findByNbbm(sch.getClZbh());
265 265 //和当前进站信号最匹配的一个班次
266 266 ScheduleRealInfo nearSch = nearScheduleByGpsIn(gps, halfList);
... ...