| | |
| | | this.systemProfitId = systemProfitId; |
| | | } |
| | | |
| | | public DappFundFlowEntity(Long memberId, BigDecimal amount, Integer type, Integer status, BigDecimal fee, String fromHash,String toHash,Long systemProfitId) { |
| | | this.memberId = memberId; |
| | | this.amount = amount; |
| | | this.type = type; |
| | | this.status = status; |
| | | this.fee = fee; |
| | | this.fromHash = fromHash; |
| | | this.toHash = toHash; |
| | | this.systemProfitId = systemProfitId; |
| | | } |
| | | |
| | | private Long memberId; |
| | | |
| | | private BigDecimal amount; |
| | |
| | | coinCnt.negate(), |
| | | FundFlowEnum.ANDAO_MEMBER_TO_MENBER.getCode(), |
| | | 2, |
| | | BigDecimal.ZERO); |
| | | BigDecimal.ZERO, |
| | | dappMemberEntity.getAddress(), |
| | | memberParent.getAddress(), |
| | | memberParent.getId()); |
| | | dappFundFlowDao.insert(aCoinCntFlow); |
| | | //闪对钱包20% 手续费(扣币) |
| | | DataDictionaryCustom dic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | |
| | | aCoinCntReal, |
| | | FundFlowEnum.ANDAO_MEMBER_TO_MENBER.getCode(), |
| | | 2, |
| | | BigDecimal.ZERO); |
| | | BigDecimal.ZERO, |
| | | dappMemberEntity.getAddress(), |
| | | memberParent.getAddress(), |
| | | dappMemberEntity.getId()); |
| | | dappFundFlowDao.insert(dappFundFlowEntity); |
| | | |
| | | //金本位底池数量 |
| | |
| | | coinCnt.negate(), |
| | | FundFlowEnum.AUSDT_MEMBER_TO_MENBER.getCode(), |
| | | 2, |
| | | BigDecimal.ZERO); |
| | | BigDecimal.ZERO, |
| | | dappMemberEntity.getAddress(), |
| | | memberParent.getAddress(), |
| | | memberParent.getId()); |
| | | dappFundFlowDao.insert(aCoinCntFlow); |
| | | |
| | | DappUsdtPerkEntity parentEntity = dappUsdtPerkEntityMapper.selectByMemberId(memberParent.getId()); |
| | |
| | | coinCnt, |
| | | FundFlowEnum.AUSDT_MEMBER_TO_MENBER.getCode(), |
| | | 2, |
| | | BigDecimal.ZERO); |
| | | BigDecimal.ZERO, |
| | | dappMemberEntity.getAddress(), |
| | | memberParent.getAddress(), |
| | | dappMemberEntity.getId()); |
| | | dappFundFlowDao.insert(aCoinCntFlowParent); |
| | | } |
| | | } |