| | |
| | | ); |
| | | BigDecimal usdtPrice = new BigDecimal(usdtPriceDic.getValue()).setScale(2, BigDecimal.ROUND_DOWN); |
| | | mallMemberVo.setUsdtPrice(usdtPrice); |
| | | |
| | | DataDictionaryCustom cardChangeDic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.CARD_CHANGE.getType(), |
| | | DataDictionaryEnum.CARD_CHANGE.getCode() |
| | | ); |
| | | mallMemberVo.setAroundType(Integer.parseInt(StrUtil.isEmpty(cardChangeDic.getValue()) ? "1" : cardChangeDic.getValue())); |
| | | |
| | | DataDictionaryCustom coinChangeDic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.COIN_CHANGE.getType(), |
| | | DataDictionaryEnum.COIN_CHANGE.getCode() |
| | | ); |
| | | mallMemberVo.setChangeType(Integer.parseInt(StrUtil.isEmpty(coinChangeDic.getValue()) ? "1" : coinChangeDic.getValue())); |
| | | return new FebsResponse().success().data(mallMemberVo); |
| | | } |
| | | |