[fix]
[订单距离、自动探查]
This commit is contained in:
yangyakun
2024-07-11 17:39:07 +08:00
parent 8fd0816dff
commit 05512619e3
44 changed files with 233 additions and 45 deletions

View File

@@ -0,0 +1,10 @@
package com.mogo.och.data.taxi;
public class BaseOrderBean {
public String orderNo;// 订单号
public int orderStatus;//订单状态
public String getEndSiteAddr() {
return "";
}
}

View File

@@ -0,0 +1,16 @@
package com.mogo.och.data.taxi;
/**
* Created on 2021/9/7
*
* 查询订单路径信息(起始点里程、预估时间等)请求数据结构
*/
public class OrderQueryRouteInfoReqBean {
public String sn;
public String orderNo;
public OrderQueryRouteInfoReqBean(String sn, String orderNo) {
this.sn = sn;
this.orderNo = orderNo;
}
}

View File

@@ -0,0 +1,22 @@
package com.mogo.och.data.taxi;
import com.mogo.eagle.core.data.BaseData;
/**
* Created on 2021/9/7
*
* 查询订单路径信息(起始点里程、预估时间等)返回数据结构
*/
public class OrderQueryRouteInfoRespBean extends BaseData {
public Result data;
public static class Result {
// 到上车点
public long durationToStart; //司机绑定时的位置距离上车点时长,单位:秒
public long distanceToStart; //司机绑定时的位置距离上车点距离,单位:米
// 起点至终点
public long durationToEnd; //订单上车点到目的地的时长,单位:秒
public long distanceToEnd; //订单上车点到目的地的距离,单位:米
}
}

View File

@@ -0,0 +1,5 @@
package com.mogo.och.data.taxi
data class QueryCarOrderByNoReqBean(
var sn: String, var orderNo: String
)

View File

@@ -0,0 +1,14 @@
package com.mogo.och.data.taxi
import com.mogo.eagle.core.data.BaseData
data class QueryCarOrderByNoRespBean(var data: Result) : BaseData() {
data class Result(
var sn: String,
var bookingUserPhone: String,
var businessType: String,
var mileage: Float,
var duration: Float,
var passengerSize: Int
):BaseOrderBean()
}