| | |
| | | package cc.mrbird.febs.dapp.utils; |
| | | |
| | | import cc.mrbird.febs.common.utils.SpringContextUtil; |
| | | import cc.mrbird.febs.dapp.entity.DappFundFlowEntity; |
| | | import cc.mrbird.febs.dapp.entity.DappOnlineTransferEntity; |
| | | import cc.mrbird.febs.dapp.entity.DappTransferRecordEntity; |
| | | import cc.mrbird.febs.dapp.mapper.DappFundFlowDao; |
| | | import cc.mrbird.febs.dapp.mapper.DappOnlineTransferDao; |
| | | import cc.mrbird.febs.dapp.mapper.DappTransferRecordDao; |
| | | |
| | |
| | | private static final DappTransferRecordDao dappTransferRecordDao = SpringContextUtil.getBean(DappTransferRecordDao.class); |
| | | |
| | | public static void addTransfer(String address, BigDecimal amount, Integer type, Integer targetType, String fromType, String symbol, String batchNo) { |
| | | addTransfer(address, amount, type, targetType, fromType, symbol, "BSC", batchNo); |
| | | addTransfer(address, amount, type, targetType, fromType, symbol, "BSC", batchNo); |
| | | } |
| | | |
| | | public static void addTransfer(String address, BigDecimal amount, Integer type, Integer targetType, String fromType, String symbol, String chain, String batchNo) { |
| | |
| | | public static void addTransferRecord(String fromAddress, String toAddress, BigDecimal amount, String hash, String sourceFlag, String symbol) { |
| | | addTransferRecord(fromAddress, toAddress, amount, hash, "BSC", sourceFlag, symbol); |
| | | } |
| | | |
| | | } |