fix(lastleg): filter domestic first-leg orders by sailing stage
This commit is contained in:
@@ -18,6 +18,8 @@ public final class LastlegOrderRequests {
|
||||
private LastlegOrderRequests() {
|
||||
}
|
||||
|
||||
public enum SailingStage { BEFORE_DEPARTURE, AFTER_DEPARTURE }
|
||||
|
||||
public record Query(
|
||||
@Min(1) Long page,
|
||||
@Min(1) @Max(200) Long size,
|
||||
@@ -34,7 +36,8 @@ public final class LastlegOrderRequests {
|
||||
Boolean abnormal,
|
||||
Boolean detained,
|
||||
LocalDateTime createdFrom,
|
||||
LocalDateTime createdTo
|
||||
LocalDateTime createdTo,
|
||||
SailingStage sailingStage
|
||||
) {
|
||||
public Query {
|
||||
if (page == null || page == 0) page = 1L;
|
||||
|
||||
Reference in New Issue
Block a user