From 38d547d91d7eee81ed56ca6ceba7fd393952a082 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Mon, 12 May 2025 16:12:15 +0800 Subject: [PATCH] feat(sign): 增加签到获得会员经验或积分的功能 - 在 ApiSignVo 中添加 mostSignIn 字段,用于区分签到获得的类型 - 在 ScoreFlowTypeEnum 中新增 SIGN_EXPERIENCE 和 SIGN_SCORE 类型 - 修改 ScoreServiceImpl 中的签到逻辑,支持获得会员经验和积分 - 更新 ScoreSettingDto,添加 mostSignIn 字段用于配置签到获得类型 - 在前端设置页面添加签到获得类型的选项 --- src/main/java/cc/mrbird/febs/mall/mapper/DataDictionaryCustomMapper.java | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/mapper/DataDictionaryCustomMapper.java b/src/main/java/cc/mrbird/febs/mall/mapper/DataDictionaryCustomMapper.java index e793dfb..0f873f3 100644 --- a/src/main/java/cc/mrbird/febs/mall/mapper/DataDictionaryCustomMapper.java +++ b/src/main/java/cc/mrbird/febs/mall/mapper/DataDictionaryCustomMapper.java @@ -1,11 +1,35 @@ package cc.mrbird.febs.mall.mapper; +import cc.mrbird.febs.mall.dto.PayMethodDto; import cc.mrbird.febs.mall.entity.DataDictionaryCustom; +import cc.mrbird.febs.mall.vo.AdminAgentLevelOptionTreeVo; +import cc.mrbird.febs.mall.vo.AdminMallPayMethodEditVo; +import cc.mrbird.febs.mall.vo.AdminPayMethodVo; +import cc.mrbird.febs.mall.vo.AdminRankAwardUpdateInfoVo; import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import org.apache.ibatis.annotations.Param; +import javax.validation.constraints.NotBlank; import java.util.List; public interface DataDictionaryCustomMapper extends BaseMapper<DataDictionaryCustom> { List<DataDictionaryCustom> selectDicByType(String type); + + IPage<AdminPayMethodVo> getPayMethodListInPage(Page<AdminPayMethodVo> page, @Param("record")PayMethodDto payMethodDto); + + AdminMallPayMethodEditVo getMallPayMethodEditInfoById(@Param("id")long id); + + DataDictionaryCustom selectNextAgentLevelInfo(@Param("level") String agentLevel); + + DataDictionaryCustom selectDicDataByTypeAndCode(@Param("type") String type, @Param("code") String code); + + List<AdminAgentLevelOptionTreeVo> getAgentLevelOption(); + List<AdminAgentLevelOptionTreeVo> agentLevelOption(); + + AdminRankAwardUpdateInfoVo getRankAwardUpdateInfoById(@Param("id")long id); + + int updateDicValueByTypeAndCode(@Param("type") String type, @Param("code") String code, @Param("value") String value); } -- Gitblit v1.9.1