feat(firstleg): expose broker submission timestamp

This commit is contained in:
2026-09-26 14:22:29 +08:00
parent 7680c3e5c2
commit c266cdee9a
2 changed files with 2 additions and 2 deletions
@@ -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) {}
@@ -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) {