|
@@ -104,7 +104,7 @@ public class CarrierInfoServiceImpl extends ServiceImpl<CarrierInfoMapper, HyCar
|
|
|
} else {
|
|
|
color = "1";
|
|
|
}
|
|
|
- map.put("vnos", hyCarrierInfo.getCarNo()+"_"+color);
|
|
|
+ map.put("vnos", hyDriverCarInfo.getCarNumber()+"_"+color);
|
|
|
String url = "https://zhiyunopenapi.95155.com/save/apis/transTimeManageV2";
|
|
|
// 设置 http 读写超时
|
|
|
DataExchangeService des = new DataExchangeService(5000, 8000);
|
|
@@ -129,11 +129,11 @@ public class CarrierInfoServiceImpl extends ServiceImpl<CarrierInfoMapper, HyCar
|
|
|
// 距离
|
|
|
double s = GetDistance(lon,lat,lon1,lat1);
|
|
|
if(s>3000){
|
|
|
- throw new ArithmeticException("请检查北斗导航可以正常使用!");
|
|
|
+ throw new YException(YExceptionEnum.FAILED_TO_LOADINGADD);
|
|
|
}
|
|
|
}
|
|
|
else{
|
|
|
- throw new ArithmeticException("获取北斗位置异常!");
|
|
|
+ throw new YException(YExceptionEnum.FAILED_TO_LOADINGA);
|
|
|
}
|
|
|
/****************************判断发货地和车辆位置结束************************************/
|
|
|
|