From 575bb46553a1e78f6b7f4d8a2f3eebc04f7548d8 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 27 Jul 2023 17:44:46 +0800
Subject: [PATCH] 赠送积分更新状态

---
 src/main/java/cc/mrbird/febs/mall/controller/ViewSystemController.java |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/mall/controller/ViewSystemController.java b/src/main/java/cc/mrbird/febs/mall/controller/ViewSystemController.java
index 229fa6c..0e946b7 100644
--- a/src/main/java/cc/mrbird/febs/mall/controller/ViewSystemController.java
+++ b/src/main/java/cc/mrbird/febs/mall/controller/ViewSystemController.java
@@ -52,6 +52,8 @@
                 DataDictionaryEnum.ACTIVITY_BULLETIN.getCode());
         DataDictionaryCustom giveAmountDic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode(DataDictionaryEnum.GIVE_AMOUNT.getType(),
                 DataDictionaryEnum.GIVE_AMOUNT.getCode());
+        DataDictionaryCustom chargeAmountDic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode(DataDictionaryEnum.CHARGE_AMOUNT.getType(),
+                DataDictionaryEnum.CHARGE_AMOUNT.getCode());
         AdminAgentAmountDto adminAgentAmountDto = new AdminAgentAmountDto();
         if (dic != null) {
             adminAgentAmountDto.setAgentAmountValue(dic.getValue());
@@ -65,6 +67,9 @@
         if (giveAmountDic != null) {
             adminAgentAmountDto.setGiveAmount(giveAmountDic.getValue());
         }
+        if (chargeAmountDic != null) {
+            adminAgentAmountDto.setChargeAmount(chargeAmountDic.getValue());
+        }
         model.addAttribute("agentAmountSet", adminAgentAmountDto);
         return FebsUtil.view("modules/system/agentAmountSet");
     }

--
Gitblit v1.9.1