Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
lulz1 2024-03-19 21:36:23 +08:00
commit e664f9f229
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -88,6 +88,9 @@ public class CarOrderDetailDto implements Serializable {
// 里程数
private String mileage;
// 打车的里程数
private String miles;
// 订单总额(含前收服务费)
private String orderAmount;