From 8d5fb4ee9d27fd6a61b210eaee74af265f76aa7c Mon Sep 17 00:00:00 2001
From: manailin <261030956@qq.com>
Date: 星期五, 08 四月 2022 14:55:18 +0800
Subject: [PATCH] [修改]修改配置

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

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActIntegralUserTradeServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActIntegralUserTradeServiceImpl.java
index 7a12f70..637e82b 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActIntegralUserTradeServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActIntegralUserTradeServiceImpl.java
@@ -319,11 +319,10 @@
                 break;
             case 8:
                 changeType = ComActIntegralUserTradeDO.changeType.reduce;
-                if (integralUserDTO.getActivityType() == 1) {
                     ComActActivityDO actActivityDO2 = comActActivityService.getById(serviceId);
                     if (actActivityDO2 != null) {
                         amount = -actActivityDO2.getCancelDeduct();
-                        if (isVolunteer.equals(1)) {
+                        if (actActivityDO2.getType()==1) {
                             identityType=3;
                             remark.append("取消志愿者活动扣除积分");
                         } else if(actActivityDO2.getType()==3){
@@ -332,9 +331,9 @@
                         }
                         else {
                             identityType=1;
-                            remark.append("取消党员活动扣除积分");
+                            remark.append("取消居民活动扣除积分");
                         }
-                    }
+
                 }
 //                else {
 //                    ComPbActivityDO comPbActivityDO = comBpActivityDAO.selectById(serviceId);

--
Gitblit v1.7.1