| | |
| | | BigDecimal gfaDays = new BigDecimal(redisUtils.getString(DataDicEnum.GFA_DAYS.getValue())).setScale(2,BigDecimal.ROUND_DOWN); |
| | | walletInfo.setGfaDays(gfaDays); |
| | | |
| | | List<DappAchieve> dappAchieves1 = dappAchieveMapper.selectList(null); |
| | | walletInfo.setAddressCount(CollUtil.isEmpty(dappAchieves1) ? 0 : dappAchieves1.size()); |
| | | |
| | | return walletInfo; |
| | | } |
| | | |
| | |
| | | IPage<DappMemberFund> records = dappFundFlowDao.memberFundList(page, dappMemberFund); |
| | | return records.getRecords(); |
| | | } |
| | | |
| | | @Override |
| | | public FebsResponse addressSize(AddressSizeDto addressSizeDto) { |
| | | DataDictionaryCustom addressSizeDic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDicEnum.ADDRESS_SIZE.getValue(), |
| | | DataDicEnum.ADDRESS_SIZE.getValue() |
| | | ); |
| | | addressSizeDic.setValue(addressSizeDto.getAddressSize()); |
| | | dataDictionaryCustomMapper.updateById(addressSizeDic); |
| | | return new FebsResponse().success(); |
| | | } |
| | | } |