fllmoyu 4 سال پیش
والد
کامیت
be6d11d8b0
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      common/src/main/java/com/jpsoft/bus/modules/bus/service/impl/ShiftInfoServiceImpl.java

+ 1 - 1
common/src/main/java/com/jpsoft/bus/modules/bus/service/impl/ShiftInfoServiceImpl.java

@@ -104,7 +104,7 @@ public class ShiftInfoServiceImpl implements ShiftInfoService {
 			}
 		}
 		//TODO 根据经纬度查询当前站点
-		String currentStationId = gpsService.getLatelyStation(vehicleInfo.getId());
+		String currentStationId = gpsService.getLatelyStation(vehicleInfo.getId(),false);
 
 		if (StringUtils.isEmpty(currentStationId)) {
 			currentStationId = startStationId;