From d769a8683ea6f2ecbc451da71ca3079c6765a99d Mon Sep 17 00:00:00 2001
From: tangxiaobao <303826152@qq.com>
Date: 星期四, 05 八月 2021 13:05:27 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/test' into txb

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActIntegralUserServiceImpl.java |    3 ++-
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSwDangerReportServiceImpl.java  |    7 +++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActIntegralUserServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActIntegralUserServiceImpl.java
index 7c8ad4a..936a414 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActIntegralUserServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActIntegralUserServiceImpl.java
@@ -99,6 +99,7 @@
                     integralCountDTO.setUserId(userId);
                     integralCountDTO.setCommunityId(communityId);
                     integralCountDTO.setType(ComActIntegralUserTradeDO.changeType.add);
+                    integralCountDTO.setServiceType(integralUserRule.getIntegralType());
                     if(integralUserRule.getType().equals(ComActIntegralRuleDO.type.month)){
                         integralCountDTO.setStartTime(DateUtils.getFirstDayOfMonthString());
                         integralCountDTO.setEndTime(DateUtils.getLastDayOfMonthString());
@@ -190,7 +191,7 @@
         integralRuleWXYDO.setIsRestrict(1);
         integralRuleWXYDO.setType(ComActIntegralRuleDO.type.month);
         integralRuleWXYDO.setCount(0);
-        integralRuleWXYDO.setIntegralType(ComActIntegralRuleDO.integralType.fbssp);
+        integralRuleWXYDO.setIntegralType(ComActIntegralRuleDO.integralType.fbwxy);
         integralRuleList.add(integralRuleWXYDO);
 
         //议事投票默认积分规则
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSwDangerReportServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSwDangerReportServiceImpl.java
index e0a8e39..a28111e 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSwDangerReportServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSwDangerReportServiceImpl.java
@@ -15,6 +15,7 @@
 import com.panzhihua.common.model.vos.community.ComSwDangerReportVO;
 import com.panzhihua.common.model.vos.community.ComSwSafetyWorkRecordVO;
 import com.panzhihua.common.service.user.UserService;
+import com.panzhihua.common.utlis.DateUtils;
 import com.panzhihua.common.utlis.StringUtils;
 import com.panzhihua.service_community.dao.ComSwDangerReportDAO;
 import com.panzhihua.service_community.dao.ComSwPatrolRecordDAO;
@@ -30,10 +31,7 @@
 
 import javax.annotation.Resource;
 import java.text.SimpleDateFormat;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-import java.util.Map;
+import java.util.*;
 
 /**
  * @auther txb
@@ -313,6 +311,7 @@
         }
         BeanUtils.copyProperties(comSwDangerReportRectifyDTO, comSwDangerReportDO);
         comSwDangerReportDO.setStatus(String.valueOf(SafeWordStatusEnum.YZG.getCode()));
+        comSwDangerReportDO.setRectifyTime(DateUtils.getCurrentDateStr());
         int update = comSwDangerReportDAO.updateById(comSwDangerReportDO);
         if (update > 0) {
             return R.ok();

--
Gitblit v1.7.1