From 88887af375727a1242cef824b9ae9480293cc72f Mon Sep 17 00:00:00 2001 From: linfso Date: Thu, 3 Jul 2025 10:56:18 +0800 Subject: [PATCH] md --- .../erp/emis/service/impl/EmisWaybillServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java index cfc105be9..6ba7529ed 100644 --- a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java @@ -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, "费用异常,请检查运费!"); } }