Commit d522c6e33adbd503aeb5c5fd442c27f0dbc167c4

Authored by 潘钊
1 parent 1e5cb526

update

src/main/java/com/bsth/data/schedule/late_adjust/LateAdjustHandle.java
... ... @@ -135,6 +135,12 @@ public class LateAdjustHandle implements ApplicationContextAware{
135 135 if(sch == null)
136 136 return;
137 137  
  138 + //可能是延迟信号,gps时间没有误点
  139 + if(gps.getTimestamp() <= sch.getDfsjT()){
  140 + sch.setLate2(false);
  141 + lateSchMap.remove(sch.getClZbh());
  142 + return;
  143 + }
138 144 //进的是班次起点(名称一样即可)
139 145 gps.setStationName(BasicData.stationCode2NameMap.get(gps.getLineId() + "_" + gps.getUpDown() + "_" + gps.getStopNo()));
140 146 if(gps.getStationName().equals(sch.getQdzName())
... ...