xiaoyong931011
2020-07-02 cf963d7874d8ab0394aa24e7fea5ebe55bd68e73
src/main/java/com/xcong/excoin/modules/coin/service/impl/CoinServiceImpl.java
@@ -231,8 +231,8 @@
            if (subtract.compareTo(BigDecimal.ZERO) < 0) {
                return Result.fail(MessageSourceUtils.getString("member_service_0005"));
            }
            walletCoin.setAvailableBalance(total.setScale(4, BigDecimal.ROUND_DOWN));
            walletCoin.setTotalBalance(subtract.setScale(4, BigDecimal.ROUND_DOWN));
            walletCoin.setAvailableBalance(total);
            walletCoin.setTotalBalance(subtract);
            int updateWalletCoinById = memberWalletCoinDao.updateById(walletCoin);
            if (updateWalletCoinById < 1) {
                return Result.fail(MessageSourceUtils.getString("member_service_0096"));
@@ -373,7 +373,6 @@
        memberAccountMoneyChange.setMemberId(memberId);
        IPage<MemberAccountMoneyChange> list = memberAccountMoneyChangeDao.selectWalletContractRecordsInPage(page, memberAccountMoneyChange);
        Page<MemberAccountMoneyChangeInfoVo> pageEntityToPageVo = MemberAccountMoneyChangeMapper.INSTANCE.pageEntityToPageVo(list);
        return Result.ok(pageEntityToPageVo);
    }