From 7c571406e8eb19e4a48701dfbd2c1e955289eac3 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Tue, 14 Jan 2025 10:24:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=AE=B0=E8=B4=A6=E4=BA=A4=E6=98=93?= =?UTF-8?q?=E8=AE=B0=E5=BD=95,=E8=87=AA=E6=B5=8Bbug=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../invest/service/impl/AccountsDealRecordServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ruoyi-modules/intc-invest/src/main/java/com/ruoyi/invest/service/impl/AccountsDealRecordServiceImpl.java b/ruoyi-modules/intc-invest/src/main/java/com/ruoyi/invest/service/impl/AccountsDealRecordServiceImpl.java index f649c9f..04b8eb2 100644 --- a/ruoyi-modules/intc-invest/src/main/java/com/ruoyi/invest/service/impl/AccountsDealRecordServiceImpl.java +++ b/ruoyi-modules/intc-invest/src/main/java/com/ruoyi/invest/service/impl/AccountsDealRecordServiceImpl.java @@ -150,11 +150,12 @@ public class AccountsDealRecordServiceImpl implements IAccountsDealRecordService map.put("currentBalance", accountsDealRecord.getAmount()); accountsDealRecordMapper.batchMinusCurrentBalance(map); } + int i=accountsDealRecordMapper.insertAccountsDealRecord(accountsDealRecord); //如果是信用卡交易,更新信用卡账单数据 if(accountsDealRecord.getType().equals("2")){ creditCardBillService.updateCreditBill(accountsDealRecord.getAccountId()); } - return accountsDealRecordMapper.insertAccountsDealRecord(accountsDealRecord); + return i; } /**