This commit is contained in:
2026-08-17 18:04:04 +08:00
parent fd4afd6ae6
commit 5c22018edd
5 changed files with 25 additions and 14 deletions
@@ -240,6 +240,9 @@ public class FbaPricingService {
|| inbound.getActualVolumeCbm() == null || inbound.getActualVolumeCbm().signum() <= 0) {
throw conflict("审核通过的测量快照必须包含大于零的实重和体积");
}
if (inbound.getCustomerId() == null || inbound.getCustomerId() <= 0) {
throw conflict("入库单缺少订单客户归属,不能生成对客费用");
}
if (inbound.getWarehouseId() == null || !StringUtils.hasText(inbound.getChannelCode())) {
throw conflict("入库单缺少起运仓或渠道匹配维度");
}