From adb2c7b01d61cac2289c8ca31e5976a642a780f5 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 12 May 2021 10:04:49 +0800
Subject: [PATCH] modify
---
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