From 0b90c9d3c0d1a4a0a754e6ef9dfe447c6b39edf2 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期四, 08 七月 2021 16:58:45 +0800
Subject: [PATCH] 修改bug

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActUserWalletServiceImpl.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActUserWalletServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActUserWalletServiceImpl.java
index 3b552a4..50dddfd 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActUserWalletServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActUserWalletServiceImpl.java
@@ -81,8 +81,11 @@
             comActWalletVO.setCommunityName(resultMap.get("name"));
             if(StringUtils.isEmpty(resultMap.get("content"))){
                 this.baseMapper.insertSysAgreement(Constants.PROFIT_EXPLAIN,walletDetailDTO.getCommunityId());
+                comActWalletVO.setAgreement(Constants.PROFIT_EXPLAIN);
+            }else{
+                comActWalletVO.setAgreement(resultMap.get("content"));
             }
-            comActWalletVO.setAgreement(Constants.PROFIT_EXPLAIN);
+
         }
 
         Integer easyCount = 0;

--
Gitblit v1.7.1