feat(firstleg): expose broker submission timestamp
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ public final class ContainerCustomsDtos {
|
|||||||
String merchantStatus,
|
String merchantStatus,
|
||||||
int version, int taxRefundCount, int coveredTaxRefundCount, long actualBoxCount,
|
int version, int taxRefundCount, int coveredTaxRefundCount, long actualBoxCount,
|
||||||
List<InboundView> inbounds, List<DocumentView> documents,
|
List<InboundView> inbounds, List<DocumentView> documents,
|
||||||
LocalDateTime startedAt, LocalDateTime completedAt) {}
|
LocalDateTime startedAt, LocalDateTime completedAt, LocalDateTime brokerSubmittedAt) {}
|
||||||
|
|
||||||
public record ScopeRequest(@NotEmpty @Size(max = 200) List<@Positive Long> inboundIds,
|
public record ScopeRequest(@NotEmpty @Size(max = 200) List<@Positive Long> inboundIds,
|
||||||
@Min(0) int expectedVersion) {}
|
@Min(0) int expectedVersion) {}
|
||||||
|
|||||||
+1
-1
@@ -426,7 +426,7 @@ public class ContainerCustomsService {
|
|||||||
String merchantStatus=tenantId==null?null:merchantStatus(container.status(),refund,coveredRefund);
|
String merchantStatus=tenantId==null?null:merchantStatus(container.status(),refund,coveredRefund);
|
||||||
return new ContainerView(container.id(), container.loadingPlanId(), container.containerBookingId(), plan.planNo(),
|
return new ContainerView(container.id(), container.loadingPlanId(), container.containerBookingId(), plan.planNo(),
|
||||||
plan.cabinetNo(), plan.containerNo(), container.status(), !rows.isEmpty(), merchantStatus, container.version(), refund, coveredRefund,
|
plan.cabinetNo(), plan.containerNo(), container.status(), !rows.isEmpty(), merchantStatus, container.version(), refund, coveredRefund,
|
||||||
actualBoxCount, inbounds, documentViews, container.startedAt(), container.completedAt());
|
actualBoxCount, inbounds, documentViews, container.startedAt(), container.completedAt(), container.brokerSubmittedAt());
|
||||||
}
|
}
|
||||||
|
|
||||||
private DocumentView documentView(DocumentRow source, boolean merchant) {
|
private DocumentView documentView(DocumentRow source, boolean merchant) {
|
||||||
|
|||||||
Reference in New Issue
Block a user