From 365daab0fe68d97f2eee3211e07fd2d4840be11a Mon Sep 17 00:00:00 2001 From: lulz1 Date: Sun, 18 Feb 2024 21:03:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=96=E8=AF=91=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/chint/application/commands/LegFinishedCommand.java | 2 ++ .../java/com/chint/application/commands/OrderCreateCommand.java | 2 ++ .../chint/application/queryies/estimate/CTripEstimatePrice.java | 1 + src/main/java/com/chint/domain/value_object/OrderQueryData.java | 2 ++ .../rest/ly/dto/search/response/hotel/HotelListResponse.java | 2 ++ 5 files changed, 9 insertions(+) diff --git a/src/main/java/com/chint/application/commands/LegFinishedCommand.java b/src/main/java/com/chint/application/commands/LegFinishedCommand.java index 10fe5dfc..45d81b1a 100644 --- a/src/main/java/com/chint/application/commands/LegFinishedCommand.java +++ b/src/main/java/com/chint/application/commands/LegFinishedCommand.java @@ -3,9 +3,11 @@ package com.chint.application.commands; import com.chint.domain.value_object.FinishLegData; import com.chint.infrastructure.echo_framework.command.Command; import lombok.Data; +import lombok.EqualsAndHashCode; import static com.chint.infrastructure.constant.Constant.LEG_EVENT_FINISH; +@EqualsAndHashCode(callSuper = true) @Data public class LegFinishedCommand extends Command { private final Integer legEventType = LEG_EVENT_FINISH; diff --git a/src/main/java/com/chint/application/commands/OrderCreateCommand.java b/src/main/java/com/chint/application/commands/OrderCreateCommand.java index 870021da..81b57730 100644 --- a/src/main/java/com/chint/application/commands/OrderCreateCommand.java +++ b/src/main/java/com/chint/application/commands/OrderCreateCommand.java @@ -3,7 +3,9 @@ package com.chint.application.commands; import com.chint.domain.value_object.UserLoginParam; import com.chint.infrastructure.echo_framework.command.Command; import lombok.Data; +import lombok.EqualsAndHashCode; +@EqualsAndHashCode(callSuper = true) @Data public class OrderCreateCommand extends Command { private UserLoginParam loginParam; 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 e49d4cf9..4fa3338f 100644 --- a/src/main/java/com/chint/application/queryies/estimate/CTripEstimatePrice.java +++ b/src/main/java/com/chint/application/queryies/estimate/CTripEstimatePrice.java @@ -53,6 +53,7 @@ public class CTripEstimatePrice implements EstimatePrice { @Override public FlightPriceData queryFlightPrice(PriceQueryData priceQueryData) { + return null; } } diff --git a/src/main/java/com/chint/domain/value_object/OrderQueryData.java b/src/main/java/com/chint/domain/value_object/OrderQueryData.java index d4e9ad1d..0ead020d 100644 --- a/src/main/java/com/chint/domain/value_object/OrderQueryData.java +++ b/src/main/java/com/chint/domain/value_object/OrderQueryData.java @@ -2,7 +2,9 @@ package com.chint.domain.value_object; import lombok.Data; +import lombok.EqualsAndHashCode; +@EqualsAndHashCode(callSuper = true) @Data public class OrderQueryData extends BaseQuery { private Long routeId; diff --git a/src/main/java/com/chint/interfaces/rest/ly/dto/search/response/hotel/HotelListResponse.java b/src/main/java/com/chint/interfaces/rest/ly/dto/search/response/hotel/HotelListResponse.java index 7909e6f6..dff3a7b0 100644 --- a/src/main/java/com/chint/interfaces/rest/ly/dto/search/response/hotel/HotelListResponse.java +++ b/src/main/java/com/chint/interfaces/rest/ly/dto/search/response/hotel/HotelListResponse.java @@ -2,9 +2,11 @@ package com.chint.interfaces.rest.ly.dto.search.response.hotel; import com.chint.interfaces.rest.ly.dto.LYBaseResponse; import lombok.Data; +import lombok.EqualsAndHashCode; import java.util.List; +@EqualsAndHashCode(callSuper = true) @Data public class HotelListResponse extends LYBaseResponse { private List orderList;