修改事件id数据类型

This commit is contained in:
tongchenfei
2020-08-18 09:48:55 +08:00
parent 7bdd0d5525
commit 21cbaeaeb1
4 changed files with 10 additions and 10 deletions

View File

@@ -27,7 +27,7 @@ public class TanluUploadParams {
/**
* 针对策略上报新增字段用于车辆经过事故事件上报时记录经过的事故事件id
*/
private String parentId = "";
private long parentId = 0;
/**
* 针对策略上报新增字段,用于车辆经过事故事件上报时,记录触发围栏时的经纬度坐标
*/
@@ -55,7 +55,7 @@ public class TanluUploadParams {
* @param parentId 经过事件id
* @param location 触发围栏的坐标
*/
public TanluUploadParams(String eventType, String fromType, String parentId,
public TanluUploadParams(String eventType, String fromType, long parentId,
MogoLatLng location) {
this.eventType = eventType;
this.fromType = fromType;
@@ -87,11 +87,11 @@ public class TanluUploadParams {
this.duration = duration;
}
public String getParentId() {
public long getParentId() {
return parentId;
}
public void setParentId(String parentId) {
public void setParentId(long parentId) {
this.parentId = parentId;
}