fix: carry partial dropship measurements to outbound

This commit is contained in:
2026-09-18 15:23:36 +08:00
parent c8a99f9fff
commit 98d15c30bb
7 changed files with 127 additions and 11 deletions
@@ -2,6 +2,8 @@ package com.baiyue.lastleg.dropship.model;
import lombok.Data;
import java.math.BigDecimal;
/** Server-authoritative one-click dropship inventory dimension eligible for outbound creation. */
@Data
public class DropshipOutboundCandidate {
@@ -18,4 +20,9 @@ public class DropshipOutboundCandidate {
private String skuCode;
private String productName;
private Long availablePackages;
/** Loaded-order denominator and immutable metrics used for proportional outbound snapshots. */
private Long sourcePackageCount;
private BigDecimal sourceGrossWeightKg;
private BigDecimal sourceVolumeWeightKg;
private BigDecimal sourceVolumeCbm;
}