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; } /**