From 670446215a80f1ed2df693d70033635b32b8a667 Mon Sep 17 00:00:00 2001 From: wangw <1594593906@qq.com> Date: Mon, 27 Oct 2025 18:57:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E5=80=BC=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../market/service/impl/MkDistributionUserServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cash-service/market-service/src/main/java/com/czg/service/market/service/impl/MkDistributionUserServiceImpl.java b/cash-service/market-service/src/main/java/com/czg/service/market/service/impl/MkDistributionUserServiceImpl.java index 3df3e5ae5..a93246c4b 100644 --- a/cash-service/market-service/src/main/java/com/czg/service/market/service/impl/MkDistributionUserServiceImpl.java +++ b/cash-service/market-service/src/main/java/com/czg/service/market/service/impl/MkDistributionUserServiceImpl.java @@ -89,9 +89,9 @@ public class MkDistributionUserServiceImpl extends ServiceImpl result = new HashMap<>(5); - result.put("totalIncome", centerTopVO.getTotalIncome()); - result.put("pendingIncome", centerTopVO.getPendingIncome()); - result.put("cashOutAmount", centerTopVO.getUnCashOutAmount()); + result.put("totalIncome", centerTopVO == null ? BigDecimal.ZERO : centerTopVO.getTotalIncome()); + result.put("pendingIncome", centerTopVO == null ? BigDecimal.ZERO : centerTopVO.getPendingIncome()); + result.put("cashOutAmount", centerTopVO == null ? BigDecimal.ZERO : centerTopVO.getUnCashOutAmount()); result.put("activates", activates(userId, 1, 5)); result.put("unActivates", unActivates(userId, 1, 3));