Commit 0e6dd12d98548dc6b1d204af71693dcb76027b60
1 parent
87562647
update...
Showing
1 changed file
with
5 additions
and
6 deletions
src/main/java/com/bsth/data/gpsdata_v2/handlers/InStationProcess.java
| @@ -162,12 +162,11 @@ public class InStationProcess { | @@ -162,12 +162,11 @@ public class InStationProcess { | ||
| 162 | gpsStatusManager.changeLine(next.getClZbh(), next.getXlBm(), "套跑@系统"); | 162 | gpsStatusManager.changeLine(next.getClZbh(), next.getXlBm(), "套跑@系统"); |
| 163 | } | 163 | } |
| 164 | 164 | ||
| 165 | - if(null == next){ | ||
| 166 | - if (gps.isService()) | ||
| 167 | - nonService(sch, "结束@系统");//班次结束 | ||
| 168 | - else if (dayOfSchedule.emptyService(next)) | ||
| 169 | - nonService(sch, "空驶@系统");//下一班非营运 | ||
| 170 | - } | 165 | + |
| 166 | + if (null == next && gps.isService()) | ||
| 167 | + nonService(sch, "结束@系统");//班次结束 | ||
| 168 | + else if (null != next && dayOfSchedule.emptyService(next)) | ||
| 169 | + nonService(sch, "空驶@系统");//下一班非营运 | ||
| 171 | } | 170 | } |
| 172 | 171 | ||
| 173 | /** | 172 | /** |