This commit is contained in:
linfso 2025-07-03 10:56:18 +08:00
parent c77191b2f8
commit 88887af375

View File

@ -1755,7 +1755,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
calcWaybillFee(checkFeeWaybill);
if(checkFeeWaybill.getFreight().compareTo(emisWaybillSave.getFreight()) !=0 ){
if(checkFeeWaybill.getFreight().compareTo(emisWaybillSave.getFreight()) > 0 ){
throw new EmisBizError(EmisBizErrorType.FAIL, "费用异常,请检查运费!");
}
}
@ -3182,7 +3182,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
calcWaybillFee(checkFeeWaybill);
if(checkFeeWaybill.getFreight().compareTo(emisWaybillSave.getFreight()) !=0 ){
if(checkFeeWaybill.getFreight().compareTo(emisWaybillSave.getFreight()) > 0 ){
throw new EmisBizError(EmisBizErrorType.FAIL, "费用异常,请检查运费!");
}
}
@ -3643,7 +3643,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
calcWaybillFee(checkFeeWaybill);
if(checkFeeWaybill.getFreight().compareTo(emisWaybillSave.getFreight()) !=0 ){
if(checkFeeWaybill.getFreight().compareTo(emisWaybillSave.getFreight()) > 0 ){
throw new EmisBizError(EmisBizErrorType.FAIL, "费用异常,请检查运费!");
}
}