|
@@ -1135,8 +1135,8 @@ public class DriverApiController {
|
|
|
}
|
|
|
|
|
|
if(vehicleInfo.getLongitude()!=null && vehicleInfo.getLatitude()!=null) {
|
|
|
- //如果当前车辆与校正站点距离1km内
|
|
|
- if (gpsService.matchDistance(currentStation,vehicleInfo,1000)){
|
|
|
+ //如果当前车辆与校正站点距离2km内
|
|
|
+ if (gpsService.matchDistance(currentStation,vehicleInfo,2000)){
|
|
|
//创建一个站点附属站点
|
|
|
StationSubInfo stationSubInfo = stationSubInfoService.findByStationIdStartEnd(currentStationId, shiftInfo.getStartStationId(), shiftInfo.getEndStationId());
|
|
|
if (stationSubInfo == null) {
|