| | |
| | | df2.setRoundingMode(RoundingMode.FLOOR); |
| | | // String partyId ="dcc0dd35a49c383dadabc4dc030afe70"; |
| | | String partyId = SecurityUtils.getCurrentUserId(); |
| | | CapitaltWallet usdt = null; |
| | | Wallet usdt = null; |
| | | if (StringUtils.isNotEmpty(partyId)) { |
| | | // usdt = this.walletService.saveWalletByPartyId(partyId); |
| | | usdt = capitaltWalletService.getUserIdWallet(partyId); |
| | | usdt = this.walletService.saveWalletByPartyId(partyId); |
| | | // usdt = capitaltWalletService.getUserIdWallet(partyId); |
| | | } |
| | | if (null == usdt) { |
| | | usdt = new CapitaltWallet(); |
| | | usdt = new Wallet(); |
| | | usdt.setMoney(new BigDecimal(0)); |
| | | usdt.setLockMoney(new BigDecimal(0)); |
| | | usdt.setFreezeMoney(new BigDecimal(0)); |