This commit is contained in:
linfso 2024-04-29 13:46:33 +08:00
parent e561f1eb03
commit f66d7dd91c

View File

@ -370,7 +370,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
}
List<EmisQuotePrice> emisQuotePriceList=getValidQuotePriceList(emisWaybill.getProductType(),
emisWaybill.getSendSiteCode(),emisWaybill.getDispatchSiteCode(),
emisWaybill.getSendSiteCode(),emisWaybill.getDispatchUnderlingSiteCode(),
emisWaybill.getCalcFeeType());
@ -471,8 +471,8 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
EmisTransProduct emisTransProduct = getTransProductByCode(emisWaybill.getProductType());
String carryType=emisTransProduct.getCarryType();
double setteldWeight = WaybillHelper.calcSettledWeight(maxWeight);
emisWaybill.setSettlementWeight(setteldWeight);
double setteldWeight = WaybillHelper.calcSettledWeight(maxWeight,carryType);
emisWaybill.setSettlementWeight(BigDecimal.valueOf(setteldWeight));
}