This commit is contained in:
linfso 2024-04-29 14:18:15 +08:00
parent 3dcdd6723e
commit 5c99d45c0b

View File

@ -398,7 +398,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
log.info("计算项目:"+JSONObject.toJSONString(exprItem)+",重量:"+emisWaybill.getSettlementWeight().doubleValue());
if( exprItem.getStartWeight().doubleValue() <= emisWaybill.getSettlementWeight().doubleValue()
&& exprItem.getEndWeight().doubleValue() >= emisWaybill.getSettlementWeight().doubleValue()
&& exprItem.getEndWeight().doubleValue() > emisWaybill.getSettlementWeight().doubleValue()
){
feeItem.setFeeCode(quoteItem.getFeeType());
feeItem.setQuoteId(quoteItem.getQuoteId());
@ -425,7 +425,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
for (EmisQuoteExpression exprItem: exprList) {
if(
exprItem.getStartWeight().doubleValue() <= emisWaybill.getTotalVolume().doubleValue()
&& exprItem.getEndWeight().doubleValue() >= emisWaybill.getTotalVolume().doubleValue()
&& exprItem.getEndWeight().doubleValue() > emisWaybill.getTotalVolume().doubleValue()
){
feeItem.setFeeCode(quoteItem.getFeeType());
feeItem.setQuoteId(quoteItem.getQuoteId());