| | |
| | | .eq(CapitaltWallet::getUserId, partyId).last(" limit 1 ")); |
| | | money = wallet.getMoney().doubleValue(); |
| | | // 钱包USDT |
| | | money_wallet = wallet.getMoney().doubleValue(); |
| | | money_wallet = wallet.getMoney().doubleValue()+wallet.getFreezeMoney().doubleValue(); |
| | | // 币余额 |
| | | money_coin = this.getMoneyCoin(partyId, realtime_all, list_symbol)+capitaltWallet.getMoney().doubleValue(); |
| | | money_coin = this.getMoneyCoin(partyId, realtime_all, list_symbol)+capitaltWallet.getMoney().doubleValue()+capitaltWallet.getFreezeMoney().doubleValue(); |
| | | money = money + money_coin; |
| | | // 钱包USDT+币余额 |
| | | money_all_coin = money; |
| | |
| | | } |
| | | |
| | | if (realtime != null) { |
| | | money_coin = Arith.add(money_coin, Arith.mul(realtime.getClose().doubleValue(), walletExtend.getAmount())); |
| | | money_coin = Arith.add(money_coin, Arith.mul(realtime.getClose().doubleValue(), walletExtend.getAmount()+walletExtend.getFreezeAmount())); |
| | | } |
| | | } |
| | | } |