فهرست منبع

模板消息调整

fllmoyu 4 سال پیش
والد
کامیت
5926dac34d
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      web/src/main/java/com/jpsoft/bus/modules/mobile/controller/PassengerApiController.java

+ 4 - 0
web/src/main/java/com/jpsoft/bus/modules/mobile/controller/PassengerApiController.java

@@ -254,6 +254,8 @@ public class PassengerApiController {
             //班次信息
             ShiftInfo shiftInfo = shiftInfoList.get(0);
 
+            DriverInfo driverInfo = driverInfoService.get(shiftInfo.getDriverId());
+
             //车辆信息
             VehicleInfo vehicleInfo = vehicleInfoService.get(id);
 
@@ -282,6 +284,8 @@ public class PassengerApiController {
             map.put("endTime", routeInfo.getEndTime());
             map.put("routeName", routeInfo.getName());
             map.put("mapPath", routeInfo.getMapPath());
+            map.put("driver",driverInfo);
+            map.put("licensePlateNumber",vehicleInfo.getLicensePlateNumber());
             //    map.put("stationList",vehicleStationDTOList);
             messageResult.setData(map);
             messageResult.setResult(true);