From 45f867b6f1e83c52bc0c13dd99b8301e64692b30 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 09 Aug 2022 11:08:22 +0800 Subject: [PATCH] 20220808 --- src/main/java/cc/mrbird/febs/mall/service/impl/MemberProfitServiceImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/service/impl/MemberProfitServiceImpl.java b/src/main/java/cc/mrbird/febs/mall/service/impl/MemberProfitServiceImpl.java index c7990b9..89dab43 100644 --- a/src/main/java/cc/mrbird/febs/mall/service/impl/MemberProfitServiceImpl.java +++ b/src/main/java/cc/mrbird/febs/mall/service/impl/MemberProfitServiceImpl.java @@ -281,7 +281,7 @@ } BigDecimal income = profit.multiply(profitProp).divide(BigDecimal.valueOf(agentMemberList.size()), 2, RoundingMode.HALF_UP); - if (income.compareTo(BigDecimal.ZERO) > 0) { + if (income.compareTo(BigDecimal.ZERO) < 1) { continue; } -- Gitblit v1.9.1