KKSU
2025-03-25 70b8b5feba16d3ef11441c3ee9878420df3fdf37
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,16 @@
        if (giveAmountDic != null) {
            adminAgentAmountDto.setGiveAmount(giveAmountDic.getValue());
        }
        if (chargeAmountDic != null) {
            adminAgentAmountDto.setChargeAmount(chargeAmountDic.getValue());
        }
        DataDictionaryCustom minAmountDic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode(
                DataDictionaryEnum.MIN_AMOUNT_IS_MEMBER.getType(),
                DataDictionaryEnum.MIN_AMOUNT_IS_MEMBER.getCode());
        if (minAmountDic != null) {
            adminAgentAmountDto.setMinAmount(minAmountDic.getValue());
        }
        model.addAttribute("agentAmountSet", adminAgentAmountDto);
        return FebsUtil.view("modules/system/agentAmountSet");
    }