From 829f629756e5402bcd3e9f6ef1f9c6dbffbabb11 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Wed, 17 Apr 2024 14:46:29 +0800 Subject: [PATCH] 55测试环境 --- src/main/java/com/xcong/excoin/utils/LogRecordUtils.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/excoin/utils/LogRecordUtils.java b/src/main/java/com/xcong/excoin/utils/LogRecordUtils.java index 3a551f5..16d42e0 100644 --- a/src/main/java/com/xcong/excoin/utils/LogRecordUtils.java +++ b/src/main/java/com/xcong/excoin/utils/LogRecordUtils.java @@ -26,6 +26,10 @@ public class LogRecordUtils { public static void insertMemberAccountMoneyChange(Long memberId, String content, BigDecimal amount, String symbol, Integer status, Integer type) { + insertMemberAccountMoneyChangeWithId(memberId, content, amount, symbol, status, type, null); + } + + public static void insertMemberAccountMoneyChangeWithId(Long memberId, String content, BigDecimal amount, String symbol, Integer status, Integer type, Long withId) { MemberAccountMoneyChange accountRecord = new MemberAccountMoneyChange(); accountRecord.setContent(content); accountRecord.setMemberId(memberId); @@ -33,6 +37,7 @@ accountRecord.setStatus(status); accountRecord.setSymbol(symbol); accountRecord.setType(type); + accountRecord.setWithdrawId(withId); SpringContextHolder.getBean(MemberAccountMoneyChangeDao.class).insert(accountRecord); } -- Gitblit v1.9.1