This commit is contained in:
linfso 2025-07-03 14:18:23 +08:00
parent e253498595
commit 5186ff16ab

View File

@ -3507,7 +3507,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
emisWaybillSave.getFreight().setScale(0,BigDecimal.ROUND_DOWN).stripTrailingZeros().toPlainString()
);
if( emisWaybillSave.getFreight().setScale(0,BigDecimal.ROUND_HALF_UP).doubleValue() < checkFeeWaybill.getFreight().setScale(0,BigDecimal.ROUND_HALF_UP).doubleValue() ){
if( emisWaybillSave.getFreight().setScale(0,BigDecimal.ROUND_DOWN).doubleValue() < checkFeeWaybill.getFreight().setScale(0,BigDecimal.ROUND_DOWN).doubleValue() ){
throw new EmisBizError(EmisBizErrorType.FAIL, "费用异常,请检查运费!");
}