From 257ce232897d0e4a232e827ba61516b747389078 Mon Sep 17 00:00:00 2001
From: zhanglin <852614290@qq.com>
Date: 星期日, 23 七月 2023 16:04:35 +0800
Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/HongRuiTang

---
 ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/CustomConfigServiceImpl.java |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/CustomConfigServiceImpl.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/CustomConfigServiceImpl.java
index f25a3be..202703d 100644
--- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/CustomConfigServiceImpl.java
+++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/CustomConfigServiceImpl.java
@@ -339,8 +339,8 @@
                         customConfig.setUpdateTime(updateTime);
                         if(oldValue!=null&&!oldValue.isEmpty()){
                             handleChangeConfig(oldValue, newValue, key);
-                            updatedCustomConfigs.add(customConfig);
                         }
+                        updatedCustomConfigs.add(customConfig);
                         break;
                     case "SHOP_FOLLOW_TYPE":
                         newValue = mgtShopConfigEditDto.getShopFollowType();
@@ -348,8 +348,8 @@
                         customConfig.setUpdateTime(updateTime);
                         if(oldValue!=null&&!oldValue.isEmpty()){
                             handleChangeConfig(oldValue, newValue, key);
-                            updatedCustomConfigs.add(customConfig);
                         }
+                        updatedCustomConfigs.add(customConfig);
                         break;
                     case "SHOP_CUSTOM_STATUS":
                         newValue = mgtShopConfigEditDto.getShopCustomStatus();
@@ -357,8 +357,8 @@
                         customConfig.setUpdateTime(updateTime);
                         if(oldValue!=null&&!oldValue.isEmpty()){
                             handleChangeConfig(oldValue, newValue, key);
-                            updatedCustomConfigs.add(customConfig);
                         }
+                        updatedCustomConfigs.add(customConfig);
                         break;
                     case "SHOP_SOURCE_CHANNEL":
                         newValue = mgtShopConfigEditDto.getShopSourceChannel();
@@ -366,8 +366,8 @@
                         customConfig.setUpdateTime(updateTime);
                         if(oldValue!=null&&!oldValue.isEmpty()){
                             handleChangeConfig(oldValue, newValue, key);
-                            updatedCustomConfigs.add(customConfig);
                         }
+                        updatedCustomConfigs.add(customConfig);
                         break;
                     default:
                         break;
@@ -417,8 +417,8 @@
                         customConfig.setUpdateTime(updateTime);
                         if(oldValue!=null&&!oldValue.isEmpty()){
                             handleChangeConfig(oldValue, newValue, key);
-                            updatedCustomConfigs.add(customConfig);
                         }
+                        updatedCustomConfigs.add(customConfig);
                         break;
                     case "MEMBER_CHARACTER":
                         newValue = mgtMemberConfigEditDto.getMemberCharacter();
@@ -426,8 +426,8 @@
                         customConfig.setUpdateTime(updateTime);
                         if(oldValue!=null&&!oldValue.isEmpty()){
                             handleChangeConfig(oldValue, newValue, key);
-                            updatedCustomConfigs.add(customConfig);
                         }
+                        updatedCustomConfigs.add(customConfig);
                         break;
                     case "MEMBER_LEVEL":
                         newValue = mgtMemberConfigEditDto.getMemberLevel();
@@ -435,8 +435,8 @@
                         customConfig.setUpdateTime(updateTime);
                         if(oldValue!=null&&!oldValue.isEmpty()){
                             handleChangeConfig(oldValue, newValue, key);
-                            updatedCustomConfigs.add(customConfig);
                         }
+                        updatedCustomConfigs.add(customConfig);
                         break;
                     case "MEMBER_TYPE":
                         newValue = mgtMemberConfigEditDto.getMemberType();
@@ -444,8 +444,8 @@
                         customConfig.setUpdateTime(updateTime);
                         if(oldValue!=null&&!oldValue.isEmpty()){
                             handleChangeConfig(oldValue, newValue, key);
-                            updatedCustomConfigs.add(customConfig);
                         }
+                        updatedCustomConfigs.add(customConfig);
                         break;
                     case "NURSE_PROBLEM":
                         newValue = mgtMemberConfigEditDto.getNurseProblem();
@@ -453,8 +453,8 @@
                         customConfig.setUpdateTime(updateTime);
                         if(oldValue!=null&&!oldValue.isEmpty()){
                             handleChangeConfig(oldValue, newValue, key);
-                            updatedCustomConfigs.add(customConfig);
                         }
+                        updatedCustomConfigs.add(customConfig);
                         break;
                     default:
                         break;
@@ -594,13 +594,13 @@
         MgtBulletinBoardVo mgtBulletinBoardVoCustom = recommendCooperationService.boardMemberTotal();
         mgtBulletinBoardVo.setCustomTotal(mgtBulletinBoardVoCustom.getCustomTotal());
         mgtBulletinBoardVo.setCustomToday(mgtBulletinBoardVoCustom.getCustomToday());
+        mgtBulletinBoardVo.setFollowUserToday(mgtBulletinBoardVoCustom.getFollowUserToday());
         // 获取店铺信息
         MgtBulletinBoardVo mgtBulletinBoardVoShop = remoteShopService.boardShopTotal().getData();
         mgtBulletinBoardVo.setShopTotal(mgtBulletinBoardVoShop.getShopTotal());
         mgtBulletinBoardVo.setAgencyTotal(mgtBulletinBoardVoShop.getAgencyTotal());
         mgtBulletinBoardVo.setDealerTotal(mgtBulletinBoardVoShop.getDealerTotal());
         mgtBulletinBoardVo.setFollowShopToday(mgtBulletinBoardVoShop.getFollowShopToday());
-        mgtBulletinBoardVo.setFollowUserToday(0);
         // 获取订单信息
         MgtBulletinBoardVo mgtBulletinBoardVoOrder = remoteOrderService.boardOrderTotal().getData();
         mgtBulletinBoardVo.setSalesTotal(mgtBulletinBoardVoOrder.getSalesTotal());

--
Gitblit v1.7.1