From 2491d4f8fc9371b41ae3a6daa8514bac4a379bb6 Mon Sep 17 00:00:00 2001 From: dengwc Date: Tue, 19 Mar 2024 21:05:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E8=BD=A6=E9=87=8C=E7=A8=8B=E6=95=B0?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/chint/application/queryies/OrderDetailQuery.java | 1 + .../interfaces/rest/bpm/dto/orderdetail/CarOrderDetailDto.java | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/main/java/com/chint/application/queryies/OrderDetailQuery.java b/src/main/java/com/chint/application/queryies/OrderDetailQuery.java index 6bb357fd..4fd5c229 100644 --- a/src/main/java/com/chint/application/queryies/OrderDetailQuery.java +++ b/src/main/java/com/chint/application/queryies/OrderDetailQuery.java @@ -193,6 +193,7 @@ public class OrderDetailQuery { CarOrderDetailDto orderDetailDto = CarOrderDetailDto.copyFrom(carOrderDetail); RouteOrder routeOrder = routeRepository.queryById(orderDetail.getRouteId()); orderDetailDto.setApplicantId(routeOrder.getUserId()); + orderDetailDto.setMiles(carOrderDetail.getMileage());//打车里程数映射 return orderDetailDto; } return null; diff --git a/src/main/java/com/chint/interfaces/rest/bpm/dto/orderdetail/CarOrderDetailDto.java b/src/main/java/com/chint/interfaces/rest/bpm/dto/orderdetail/CarOrderDetailDto.java index 9bcbaede..e9b84915 100644 --- a/src/main/java/com/chint/interfaces/rest/bpm/dto/orderdetail/CarOrderDetailDto.java +++ b/src/main/java/com/chint/interfaces/rest/bpm/dto/orderdetail/CarOrderDetailDto.java @@ -88,6 +88,9 @@ public class CarOrderDetailDto implements Serializable { // 里程数 private String mileage; + // 打车的里程数 + private String miles; + // 订单总额(含前收服务费) private String orderAmount;