This commit is contained in:
linfso 2024-09-09 18:55:30 +08:00
parent 79adbdd681
commit adf6b215df

View File

@ -3061,6 +3061,8 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
// emisWaybill.setFreight(BigDecimal.valueOf(totalFee));
emisWaybill.setFreight(realTotalFee);
log.info("总费用:"+realTotalFee.stripTrailingZeros().toPlainString());
if(emisWaybill.getFreight().compareTo(BigDecimal.ZERO)==0){
throw new EmisBizError(EmisBizErrorType.CALC_QUOTE_ERROR, "报价未配置");
}