| | |
| | | null, |
| | | dappMemberNodeEntityNew.getId()); |
| | | dappFundFlowDao.insert(fundFlow); |
| | | |
| | | /** |
| | | * 发送转币消息 |
| | | */ |
| | | chainProducer.sendBnbTransferMsg(fundFlow.getId()); |
| | | |
| | | |
| | | BigDecimal subtract = amount.subtract(directProfit); |
| | | |
| | | //生成直推奖励的流水 |
| | | DappFundFlowEntity fundFlowEntityProject = new DappFundFlowEntity( |
| | | refererMember.getId(), |
| | | directProfit, |
| | | 4, |
| | | 1, |
| | | BigDecimal.ZERO, |
| | | null, |
| | | dappMemberNodeEntityNew.getId()); |
| | | dappFundFlowDao.insert(fundFlowEntityProject); |
| | | |
| | | /** |
| | | * 发送转币消息 |
| | | */ |
| | | chainProducer.sendBnbTransferMsg(fundFlowEntityProject.getId()); |
| | | } else { |
| | | DappFundFlowEntity flow = dappFundFlowDao.selectById(transferDto.getId()); |
| | | if (flow.getStatus() == 1) { |