Commit 6667793c6f40fd380e10370e0cef91b786514c0d
1 parent
64bdfc57
1.进站逻辑优化
Showing
1 changed file
with
3 additions
and
1 deletions
src/main/java/com/bsth/data/gpsdata_v2/handlers/InStationProcess.java
| @@ -105,7 +105,9 @@ public class InStationProcess { | @@ -105,7 +105,9 @@ public class InStationProcess { | ||
| 105 | if (flow && null != sch && | 105 | if (flow && null != sch && |
| 106 | ((sch.getZdzCode().equals(gps.getStopNo()) && gps.getInstation() > 0) || sch.getZdzCode().equals(gps.getCarparkNo()))) { | 106 | ((sch.getZdzCode().equals(gps.getStopNo()) && gps.getInstation() > 0) || sch.getZdzCode().equals(gps.getCarparkNo()))) { |
| 107 | inEndStation(sch, gps); | 107 | inEndStation(sch, gps); |
| 108 | - isEnd = true; | 108 | + if (sch.getZdsjActualTime() != null) { |
| 109 | + isEnd = true; | ||
| 110 | + } | ||
| 109 | } | 111 | } |
| 110 | 112 | ||
| 111 | //进起点 rfid状态复位 | 113 | //进起点 rfid状态复位 |