diff --git a/src/main/java/com/chint/domain/service/supplier/AmapOrderDataAdapter.java b/src/main/java/com/chint/domain/service/supplier/AmapOrderDataAdapter.java index e8ead063..483e2a86 100644 --- a/src/main/java/com/chint/domain/service/supplier/AmapOrderDataAdapter.java +++ b/src/main/java/com/chint/domain/service/supplier/AmapOrderDataAdapter.java @@ -61,7 +61,7 @@ public class AmapOrderDataAdapter implements OrderDataAdapter{ .supplierName(supplierData.getSupplierName()) .currencyCode(CurrencyType.RENMINBI.getCode()) //没有返回差旅申请单号 -// .selfOrderNo(response.getTravelApplyNo()) + .selfOrderNo(response.getData().getApplyRecord().getOutApplyRecordId()) .orderStatus(supplierData.getSelfOrderStatus()) .carOrderDetailData(response) .orderTime(result.getRequestTime()) diff --git a/src/main/java/com/chint/interfaces/rest/amap/dto/detail/OrderDetailResponse.java b/src/main/java/com/chint/interfaces/rest/amap/dto/detail/OrderDetailResponse.java index 3bb8bf0b..a847d88b 100644 --- a/src/main/java/com/chint/interfaces/rest/amap/dto/detail/OrderDetailResponse.java +++ b/src/main/java/com/chint/interfaces/rest/amap/dto/detail/OrderDetailResponse.java @@ -70,7 +70,7 @@ public class OrderDetailResponse extends BaseResponse { private String passengerPhone;//代叫单 乘车人手机号 private String passengerName;//代叫单 乘车人姓名 private String privateTag;//1 因私订单 0非因私订单 - private String applyRecord;//申请单详情 + private ApplyRecord applyRecord;//申请单详情 private String extInfo;//员工扩展属性 JSON【长度:1000字符】,该信息为创建员工时提交的extInfo值 private String tokenExtInfo;//该信息为提交token时,userInfo里的extInfo值 private String showPayChannel;//支付方式:个人支付(3)、企业支付(1)、混合支付(2) @@ -112,7 +112,7 @@ public class OrderDetailResponse extends BaseResponse { //申请单详情 @lombok.Data - public static class applyRecord { + public static class ApplyRecord { private String outApplyRecordId;//外部公司申请 ID private String enterpriseCustomFields;//企业自定义申请单扩展字段 }