| | |
| | | memberWalletCoinDao.updateBlockBalance(walletCoinEntity.getId(), newBalance, balance, 0); |
| | | |
| | | String orderNo = insertCoinCharge(address, memberId, newBalance, CoinTypeEnum.USDT.name(), "ERC20", balance); |
| | | ThreadPoolUtils.sendWholePrice(memberId); |
| | | |
| | | // 插入财务记录 |
| | | LogRecordUtils.insertMemberAccountMoneyChange(memberId, "转入", newBalance, CoinTypeEnum.USDT.name(), 1, 1); |
| | | |
| | |
| | | Long memberId = coinAddressEntity.getMemberId(); |
| | | |
| | | BigDecimal balance = EthService.getEthBlance(address); |
| | | if (balance != null && new BigDecimal("0.008").compareTo(balance) < 0) { |
| | | if (balance != null && new BigDecimal("0.01").compareTo(balance) < 0) { |
| | | MemberWalletCoinEntity walletCoin = memberWalletCoinDao.selectWalletCoinBymIdAndCode(memberId, CoinTypeEnum.ETH.name()); |
| | | |
| | | if (walletCoin == null) { |