| | |
| | | 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); |
| | |
| | | accountRecord.setStatus(status); |
| | | accountRecord.setSymbol(symbol); |
| | | accountRecord.setType(type); |
| | | accountRecord.setWithdrawId(withId); |
| | | SpringContextHolder.getBean(MemberAccountMoneyChangeDao.class).insert(accountRecord); |
| | | } |
| | | |