md
This commit is contained in:
parent
eaf74a5405
commit
dc1a9442a3
@ -1755,7 +1755,12 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
|
||||
calcWaybillFee(checkFeeWaybill);
|
||||
|
||||
if(checkFeeWaybill.getFreight().compareTo(emisWaybillSave.getFreight()) > 0 ){
|
||||
log.error("费用异常,请检查运费=111=>check:{},new:{}",
|
||||
checkFeeWaybill.getFreight().stripTrailingZeros().toPlainString(),
|
||||
emisWaybillSave.getFreight().stripTrailingZeros().toPlainString()
|
||||
);
|
||||
|
||||
if( emisWaybillSave.getFreight().doubleValue() < checkFeeWaybill.getFreight().doubleValue() ){
|
||||
throw new EmisBizError(EmisBizErrorType.FAIL, "费用异常,请检查运费!");
|
||||
}
|
||||
}
|
||||
@ -3182,7 +3187,12 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
|
||||
calcWaybillFee(checkFeeWaybill);
|
||||
|
||||
if(checkFeeWaybill.getFreight().compareTo(emisWaybillSave.getFreight()) > 0 ){
|
||||
log.error("费用异常,请检查运费=222=>check:{},new:{}",
|
||||
checkFeeWaybill.getFreight().stripTrailingZeros().toPlainString(),
|
||||
emisWaybillSave.getFreight().stripTrailingZeros().toPlainString()
|
||||
);
|
||||
|
||||
if( emisWaybillSave.getFreight().doubleValue() < checkFeeWaybill.getFreight().doubleValue() ){
|
||||
throw new EmisBizError(EmisBizErrorType.FAIL, "费用异常,请检查运费!");
|
||||
}
|
||||
}
|
||||
@ -3643,7 +3653,12 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
|
||||
calcWaybillFee(checkFeeWaybill);
|
||||
|
||||
if(checkFeeWaybill.getFreight().compareTo(emisWaybillSave.getFreight()) > 0 ){
|
||||
log.error("费用异常,请检查运费=333=>check:{},new:{}",
|
||||
checkFeeWaybill.getFreight().stripTrailingZeros().toPlainString(),
|
||||
emisWaybillSave.getFreight().stripTrailingZeros().toPlainString()
|
||||
);
|
||||
|
||||
if( emisWaybillSave.getFreight().doubleValue() < checkFeeWaybill.getFreight().doubleValue() ){
|
||||
throw new EmisBizError(EmisBizErrorType.FAIL, "费用异常,请检查运费!");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user