From 177e5d562eb317843f6e7ddf89bfbf7aadc7e99b Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Wed, 28 Aug 2024 11:19:29 +0800 Subject: [PATCH] 新增功能操作按钮,和更新了数据库数据 --- src/main/java/cc/mrbird/febs/mall/controller/ViewNewsController.java | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 55 insertions(+), 0 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/controller/ViewNewsController.java b/src/main/java/cc/mrbird/febs/mall/controller/ViewNewsController.java index 4669428..c328779 100644 --- a/src/main/java/cc/mrbird/febs/mall/controller/ViewNewsController.java +++ b/src/main/java/cc/mrbird/febs/mall/controller/ViewNewsController.java @@ -36,6 +36,15 @@ private final DataDictionaryCustomMapper dataDictionaryCustomMapper; /** + * 用户留言 + */ + @GetMapping("productMemberSpeak") + @RequiresPermissions("productMemberSpeak:view") + public String productMemberSpeak() { + return FebsUtil.view("modules/news/productMemberSpeak"); + } + + /** * NFT预约产品 */ @GetMapping("productNFTList") @@ -151,6 +160,52 @@ if (startTimeDic != null) { gfaBasicSetDto.setEndTime(endCntDic.getValue()); } + gfaBasicSetDto.setFrozenFcmCnt(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( + DataDictionaryEnum.MEMBER_FROZEN_FCM_CNT.getType(), + DataDictionaryEnum.MEMBER_FROZEN_FCM_CNT.getCode()).getValue()); + gfaBasicSetDto.setOutFcmFee(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( + DataDictionaryEnum.OUT_FCM_FEE.getType(), + DataDictionaryEnum.OUT_FCM_FEE.getCode()).getValue()); + gfaBasicSetDto.setFcmPrice(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( + DataDictionaryEnum.FCM_PRICE.getType(), + DataDictionaryEnum.FCM_PRICE.getCode()).getValue()); + gfaBasicSetDto.setFcmDesToryCnt(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( + DataDictionaryEnum.FCM_DESTORY_CNT.getType(), + DataDictionaryEnum.FCM_DESTORY_CNT.getCode()).getValue()); + gfaBasicSetDto.setFcmDesToryCnt(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( + DataDictionaryEnum.FCM_DESTORY_CNT.getType(), + DataDictionaryEnum.FCM_DESTORY_CNT.getCode()).getValue()); + gfaBasicSetDto.setFcmDesToryTotal(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( + DataDictionaryEnum.FCM_DESTORY_TOTAL.getType(), + DataDictionaryEnum.FCM_DESTORY_TOTAL.getCode()).getValue()); + gfaBasicSetDto.setNftFee(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( + DataDictionaryEnum.NFT_FEE.getType(), + DataDictionaryEnum.NFT_FEE.getCode()).getValue()); + gfaBasicSetDto.setOutFcmMin(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( + DataDictionaryEnum.OUT_FCM_MIN.getType(), + DataDictionaryEnum.OUT_FCM_MIN.getCode()).getValue()); + gfaBasicSetDto.setNftMin(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( + DataDictionaryEnum.NFT_MIN.getType(), + DataDictionaryEnum.NFT_MIN.getCode()).getValue()); + gfaBasicSetDto.setMinuteCnt(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( + DataDictionaryEnum.INSURE_END_MINUTE.getType(), + DataDictionaryEnum.INSURE_END_MINUTE.getCode()).getValue()); + gfaBasicSetDto.setFcmDesToryCntPercent(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( + DataDictionaryEnum.FCM_DESTORY_TOTAL_PERCENT.getType(), + DataDictionaryEnum.FCM_DESTORY_TOTAL_PERCENT.getCode()).getValue()); + gfaBasicSetDto.setFcmDesToryCntPointPercent(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( + DataDictionaryEnum.FCM_DESTORY_POINT_PERCENT.getType(), + DataDictionaryEnum.FCM_DESTORY_POINT_PERCENT.getCode()).getValue()); + gfaBasicSetDto.setAroundType(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( + DataDictionaryEnum.CARD_CHANGE.getType(), + DataDictionaryEnum.CARD_CHANGE.getCode()).getValue()); + gfaBasicSetDto.setChangeType(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( + DataDictionaryEnum.COIN_CHANGE.getType(), + DataDictionaryEnum.COIN_CHANGE.getCode()).getValue()); + gfaBasicSetDto.setAroundInsideType(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( + DataDictionaryEnum.COIN_INSIDE_CHANGE.getType(), + DataDictionaryEnum.COIN_INSIDE_CHANGE.getCode()).getValue()); + model.addAttribute("gfaBasicSet", gfaBasicSetDto); return FebsUtil.view("modules/news/gfaBasicSet"); } -- Gitblit v1.9.1