计费重直接取DIMENSIONAL_WEIGHT_FACTOR
This commit is contained in:
@@ -47,10 +47,7 @@ public class OracleOrderBillMapper
|
||||
req.setCountryName(countryName);
|
||||
req.setDestPostcode(firstStr(row, "CONSIGNEE_POSTCODE"));
|
||||
// TAB_ORDER.DIMENSIONAL_WEIGHT_FACTOR = billing weight -> quote weight / prc_order_bill.weight
|
||||
BigDecimal chargeWeight = firstPositiveDecimal(row, "DIMENSIONAL_WEIGHT_FACTOR");
|
||||
BigDecimal weight = chargeWeight != null
|
||||
? chargeWeight
|
||||
: firstPositiveDecimal(row, "ACTUAL_WEIGHT", "PUSH_WEIGHT", "WEIGHT", "VOLUME_WEIGHT");
|
||||
BigDecimal weight = firstPositiveDecimal(row, "DIMENSIONAL_WEIGHT_FACTOR");
|
||||
req.setWeight(weight);
|
||||
// TAB_ORDER.WEIGHT = receive weight (收货重)
|
||||
req.setReceiveWeight(firstDecimal(row, "WEIGHT"));
|
||||
|
||||
Reference in New Issue
Block a user