Jelajahi Sumber

增加获取班次信息接口。

zhengqiang 4 tahun lalu
induk
melakukan
19aa4a56b2

+ 0 - 6
web/src/main/java/com/jpsoft/bus/modules/driver/controller/DriverApiController.java

@@ -548,9 +548,6 @@ public class DriverApiController {
             //当前站点
             StationInfo currentStation = stationInfoService.get(shiftInfo.getCurrentStationId());
 
-            //根据车辆当前坐标
-            StationStatusDTO stationStatusDTO = gpsService.queryStation(vehicleInfo.getId());
-
             Map<String,Object> map = new HashMap<>();
 
             DriverInfo driverInfo = driverInfoService.get(shiftInfo.getDriverId());
@@ -581,9 +578,6 @@ public class DriverApiController {
                 map.put("currentStationName", currentStation.getName());
             }
 
-            map.put("nextStationId",stationStatusDTO.getNextStationId());
-            map.put("nextStationName",stationStatusDTO.getNextStationName());
-
             RouteInfo routeInfo = routeInfoService.get(vehicleInfo.getRouteId());
 
             if(routeInfo!=null){