Commit 6cc0bb26 authored by caotao's avatar caotao

1.处理车辆轨迹划分存在数据转换异常问题。

parent f03986dc
......@@ -368,7 +368,7 @@ public class WlCarMileageServiceImpl extends ServiceImpl<WlCarMileageMapper, WlC
double startLongitude = lastObj.getDoubleValue("FireCar_Longitude");
double startLatitude = lastObj.getDoubleValue("FireCar_Latitude");
// 当前速度
Double v = Double.parseDouble(String.valueOf(lastObj.get("FireCar_Speed")));
Double v = lastObj.getDoubleValue("FireCar_Speed");
item.setStartSpeed(v.intValue());
double travel = 0.0;
// 获取里程
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment