From bf6d4413834df4c0b119be3403dbbcfe17514feb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A9=E9=B9=8F=E8=BE=89?= <18322780655@163.com> Date: Wed, 12 Jul 2023 17:44:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E4=BD=A3=E7=AE=97?= =?UTF-8?q?=E6=B3=95=E6=B7=BB=E5=8A=A0=E5=BC=82=E5=B8=B8=E8=B4=B9=E7=8E=87?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform/merchantProfit/impl/MerchantProfitServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pluss-service-bundle/src/main/java/cn/pluss/platform/merchantProfit/impl/MerchantProfitServiceImpl.java b/pluss-service-bundle/src/main/java/cn/pluss/platform/merchantProfit/impl/MerchantProfitServiceImpl.java index 7c0b83a..6fe0ba8 100644 --- a/pluss-service-bundle/src/main/java/cn/pluss/platform/merchantProfit/impl/MerchantProfitServiceImpl.java +++ b/pluss-service-bundle/src/main/java/cn/pluss/platform/merchantProfit/impl/MerchantProfitServiceImpl.java @@ -177,6 +177,8 @@ public class MerchantProfitServiceImpl extends ServiceImpl= 0) { profitRate = nowRate.subtract(new BigDecimal(userPromotion.getCurrentFee())); nowRate = new BigDecimal(userPromotion.getCurrentFee()); + }else { + return; } if(!"1".equals(userPromotion.getIsExtend())||!"2".equals(userPromotion.getIsExtend())){