From bda6cd23ba9af8a09ec5e4202ce4fafb1933c39a Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期三, 06 三月 2024 14:59:56 +0800
Subject: [PATCH] 修改参加活动金汇币明细报错4
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActActivityServiceImpl.java | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActActivityServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActActivityServiceImpl.java
index 56c852b..a26b627 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActActivityServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActActivityServiceImpl.java
@@ -1539,14 +1539,15 @@
//查询个人金汇币总额
R<JinhuiCoinGeneralTable> jinhuiCoinGeneralTable=jinhuiCommunityService.coinTableGetDetails(userId+"");
- if(jinhuiCoinGeneralTable.getData()!=null)
+ JinhuiCoinGeneralTable table=jinhuiCoinGeneralTable.getData();
+ if(table!=null)
{
JinhuiCoinGeneralTableVO jinhuiVO=new JinhuiCoinGeneralTableVO();
- jinhuiVO.setId(jinhuiCoinGeneralTable.getData().getId());
+ jinhuiVO.setId(table.getId());
int allGold=0;
- if (!StringUtils.isEmpty(jinhuiCoinGeneralTable.getData().getGoldCoin()))
+ if (!StringUtils.isEmpty(table.getGoldCoin()))
{
- allGold=Integer.valueOf(jinhuiCoinGeneralTable.getData().getGoldCoin());
+ allGold=Integer.valueOf(table.getGoldCoin());
}
allGold=allGold+rewardIntegral;
jinhuiVO.setGoldCoin(allGold+"");
--
Gitblit v1.7.1