md
This commit is contained in:
parent
e253498595
commit
5186ff16ab
@ -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, "费用异常,请检查运费!");
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user