From 9dfb2a22680a768400fdef99a16acffca87ace8c Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 13 Mar 2023 16:10:00 +0800
Subject: [PATCH] 贡献点设置

---
 src/main/java/cc/mrbird/febs/mall/controller/ViewSystemController.java |    7 +++++++
 1 files changed, 7 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 35ad3da..30abf20 100644
--- a/src/main/java/cc/mrbird/febs/mall/controller/ViewSystemController.java
+++ b/src/main/java/cc/mrbird/febs/mall/controller/ViewSystemController.java
@@ -90,6 +90,13 @@
             String scoreChange = ObjectUtil.isEmpty(scoreChangeDic.getValue()) ? "0" : scoreChangeDic.getValue();
             hlmScoreSetDto.setScoreChange(scoreChange);
         }
+        DataDictionaryCustom starGetDic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode(
+                DataDictionaryEnum.STAR_GET.getType(),
+                DataDictionaryEnum.STAR_GET.getCode());
+        if (starGetDic != null) {
+            String starGet = ObjectUtil.isEmpty(starGetDic.getValue()) ? "0" : starGetDic.getValue();
+            hlmScoreSetDto.setStarGet(starGet);
+        }
         model.addAttribute("hlmScoreSet", hlmScoreSetDto);
         return FebsUtil.view("modules/system/hlmScoreSet");
     }

--
Gitblit v1.9.1