修复超限单箱测量尺寸计算

This commit is contained in:
2026-09-03 17:17:57 +08:00
parent 253ca82b99
commit 6130a13b6b
2 changed files with 20 additions and 1 deletions
@@ -267,7 +267,7 @@ public class CartonMeasurementService {
private void applyCalculatedValues(InboundMeasurementItemEntity item,
CustomerDimensionWeightingService.RuleSet dimensionRules) {
CustomerDimensionWeightingService.WeightedDimensions weighted = dimensionRules.resolve(
CustomerDimensionWeightingService.WeightedDimensions weighted = dimensionRules.resolveDeviceMeasurement(
item.getLengthCm(), item.getWidthCm(), item.getHeightCm());
BigDecimal unitRaw = weighted.rawVolumeCbm();
BigDecimal unitVolume = weighted.unitVolumeCbm();