From 073b22aa7ce09dbf3d479ec34ad63e2fa3a8421e Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Sat, 01 Apr 2023 22:54:39 +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