diff --git a/src/main/java/com/chint/application/queryies/estimate/CTripEstimatePrice.java b/src/main/java/com/chint/application/queryies/estimate/CTripEstimatePrice.java index 393564f8..62270cce 100644 --- a/src/main/java/com/chint/application/queryies/estimate/CTripEstimatePrice.java +++ b/src/main/java/com/chint/application/queryies/estimate/CTripEstimatePrice.java @@ -118,7 +118,7 @@ public class CTripEstimatePrice implements EstimatePrice { HotelPriceData hotelPriceData = new HotelPriceData(); if (!travelStandards.isEmpty()) { String price = travelStandards.get(0).getPrice(); - String arriveData = priceQueryData.getArriveData(); + String arriveData = priceQueryData.getArriveDate(); String departDate = priceQueryData.getDepartDate(); if (arriveData != null) { DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); diff --git a/src/main/java/com/chint/domain/service/amount_estimate/CTripEstimate.java b/src/main/java/com/chint/domain/service/amount_estimate/CTripEstimate.java index 1c36a5d1..ae760c75 100644 --- a/src/main/java/com/chint/domain/service/amount_estimate/CTripEstimate.java +++ b/src/main/java/com/chint/domain/service/amount_estimate/CTripEstimate.java @@ -74,7 +74,7 @@ public class CTripEstimate implements AmountEstimate { priceQueryData.setArriveCity(leg.getDestinationLocation().getLocationName()); priceQueryData.setDepartCity(leg.getOriginLocation().getLocationName()); priceQueryData.setDepartDate(dateTimeFormatter.format(leg.getStartTime())); - priceQueryData.setArriveData(dateTimeFormatter.format(leg.getEndTime())); + priceQueryData.setArriveDate(dateTimeFormatter.format(leg.getEndTime())); return priceQueryData; } } diff --git a/src/main/java/com/chint/domain/value_object/PriceQueryData.java b/src/main/java/com/chint/domain/value_object/PriceQueryData.java index a98f4ee1..0fea9dd0 100644 --- a/src/main/java/com/chint/domain/value_object/PriceQueryData.java +++ b/src/main/java/com/chint/domain/value_object/PriceQueryData.java @@ -7,5 +7,5 @@ public class PriceQueryData { private String departCity; private String arriveCity; private String departDate; - private String arriveData; + private String arriveDate; }