xiaoyong931011
2021-05-12 feab2b9842a8f3529804d8de0d16589c2ed05268
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);
    }