This commit is contained in:
2026-09-10 14:15:41 +08:00
parent 3e4d6b76aa
commit 0dc0053787
7 changed files with 159 additions and 1 deletions
@@ -44,6 +44,9 @@ public class ContainerCustomsService {
@Transactional
public ContainerView platformView(long planId) {
List<InboundRow> rows = actualPlanRows(planId);
PlanRow plan = rows.isEmpty() ? requiredPlan(planId) : plan(rows.get(0));
if (!"COMPLETED".equals(plan.loadingPlanStatus())) return null;
ContainerRow container = ensure(planId);
return view(container, null, false);
}