|
|
@@ -3,7 +3,7 @@ package com.platform.api.response;
|
|
|
import com.platform.entity.VehicleTimeSeriesData;
|
|
|
import lombok.Data;
|
|
|
|
|
|
-import java.time.LocalDateTime;
|
|
|
+import java.sql.Timestamp;
|
|
|
|
|
|
/**
|
|
|
* @Author: donglang
|
|
|
@@ -19,7 +19,7 @@ public class VehicleDataResp {
|
|
|
/**
|
|
|
* 时间戳
|
|
|
*/
|
|
|
- private LocalDateTime ts;
|
|
|
+ private Timestamp ts;
|
|
|
|
|
|
/**
|
|
|
* 经度
|
|
|
@@ -39,7 +39,7 @@ public class VehicleDataResp {
|
|
|
/**
|
|
|
* 行驶方向(角度)
|
|
|
*/
|
|
|
- private Integer direction;
|
|
|
+ private Float direction;
|
|
|
|
|
|
/**
|
|
|
* 燃油液位(%)
|
|
|
@@ -117,3 +117,4 @@ public class VehicleDataResp {
|
|
|
return devicePageResp;
|
|
|
}
|
|
|
}
|
|
|
+
|