ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopWithdrawController.java
@@ -102,6 +102,7 @@ if(first.isPresent()){ item.setShopName(first.get().getName()); } item.setIdStr(item.getId().toString()); } return R.ok(page); } @@ -147,6 +148,7 @@ shopWithdraw.setMoney(money); shopWithdraw.setAuditStatus(0); shopWithdraw.setStatus(1); shopWithdraw.setCreateTime(LocalDateTime.now()); shopWithdrawService.save(shopWithdraw); //扣除账户余额及添加变动明细 BigDecimal balance = shop.getBalance();