Commit 839283e587969ac27c37c541015d80e8fe11ad2d
1 parent
7dcdcad8
1
Showing
1 changed file
with
3 additions
and
3 deletions
src/main/java/com/bsth/data/zndd/outer_car/OrderListThread.java
| @@ -311,9 +311,9 @@ public class OrderListThread extends Thread{ | @@ -311,9 +311,9 @@ public class OrderListThread extends Thread{ | ||
| 311 | Long closeTime = Long.valueOf(map.get("endDate").toString()); | 311 | Long closeTime = Long.valueOf(map.get("endDate").toString()); |
| 312 | int direction = 1; | 312 | int direction = 1; |
| 313 | //单独设置响应式公交103 105的班次 | 313 | //单独设置响应式公交103 105的班次 |
| 314 | - if (line.getName().contains("103区域")){ | 314 | + if (line.getName().contains("103区域")) |
| 315 | direction = 0; | 315 | direction = 0; |
| 316 | - } | 316 | + |
| 317 | 317 | ||
| 318 | 318 | ||
| 319 | List<StationRoute> list = GeoCacheData.getStationRoute(lineCode, direction); | 319 | List<StationRoute> list = GeoCacheData.getStationRoute(lineCode, direction); |
| @@ -333,7 +333,7 @@ public class OrderListThread extends Thread{ | @@ -333,7 +333,7 @@ public class OrderListThread extends Thread{ | ||
| 333 | sch.setClZbh(clzbh); | 333 | sch.setClZbh(clzbh); |
| 334 | sch.setjGh(jGh); | 334 | sch.setjGh(jGh); |
| 335 | sch.setjName(jName); | 335 | sch.setjName(jName); |
| 336 | - sch.setXlDir("0"); | 336 | + sch.setXlDir(String.valueOf(direction)); |
| 337 | sch.setQdzCode(list.get(0).getCode()); //首站 | 337 | sch.setQdzCode(list.get(0).getCode()); //首站 |
| 338 | sch.setZdzCode(list.get(0).getCode()); //末站 | 338 | sch.setZdzCode(list.get(0).getCode()); //末站 |
| 339 | sch.setDfsjAll(dispatchTime); | 339 | sch.setDfsjAll(dispatchTime); |