diff --git a/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/service/impl/TransactionBillServiceImpl.java b/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/service/impl/TransactionBillServiceImpl.java index 34730479..b91c5dcf 100644 --- a/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/service/impl/TransactionBillServiceImpl.java +++ b/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/service/impl/TransactionBillServiceImpl.java @@ -394,10 +394,6 @@ public class TransactionBillServiceImpl implements TransactionBillService { bill.setAfterBalance(user.getBalance().subtract(dto.getMoney())); // 剩余金额 transactionTemplate.execute(status -> { - // 减少余额后的用户信息 - SmUserVo afterUser = smUserMapper.selectSimpleById(userId); - bill.setAfterBalance(afterUser.getBalance()); - // 提现申请 int insert = this.insertSmTransactionBill(bill); ServiceUtil.assertion(insert != 1, "提现申请失败");