| | |
| | | // |
| | | // walletService.update(wallet.getUserId(), amount1); |
| | | |
| | | CapitaltWallet capitaltWallet = capitaltWalletService.getOne(new LambdaQueryWrapper<>(CapitaltWallet.class) |
| | | .eq(CapitaltWallet::getUserId, recharge.getPartyId()).last(" limit 1 ")); |
| | | CapitaltWallet capitaltWallet = capitaltWalletService.getUserIdWallet(recharge.getPartyId()); |
| | | double amount_before = capitaltWallet.getMoney().doubleValue(); |
| | | capitaltWalletService.update(capitaltWallet,amount1); |
| | | |
| | |
| | | |
| | | logService.save(log); |
| | | tipService.deleteTip(recharge.getUuid().toString()); |
| | | System.out.println("充值订单成功[" + recharge.getOrderNo() + "]"); |
| | | } catch (Exception e) { |
| | | log.error(e.getMessage()); |
| | | throw new RuntimeException(e); |
| | | } |
| | | } |