From ef506d591338c4e1deabede781550cf2e0156f3f Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Wed, 09 Nov 2022 23:46:18 +0800 Subject: [PATCH] 增加每日返利,提现逻辑修改,手续费分发逻辑 --- src/main/java/cc/mrbird/febs/dapp/entity/DappMemberEntity.java | 57 +++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 49 insertions(+), 8 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/dapp/entity/DappMemberEntity.java b/src/main/java/cc/mrbird/febs/dapp/entity/DappMemberEntity.java index 4ed724b..bfb0b1b 100644 --- a/src/main/java/cc/mrbird/febs/dapp/entity/DappMemberEntity.java +++ b/src/main/java/cc/mrbird/febs/dapp/entity/DappMemberEntity.java @@ -6,11 +6,12 @@ import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; +import org.web3j.abi.datatypes.Int; import java.math.BigDecimal; /** - * @author wzy + * @author * @date 2022-03-17 **/ @Data @@ -42,13 +43,53 @@ private String refererIds; - @TableField(exist = false) private int approveCnt; - public int getApproveCnt() { - if (StrUtil.isNotBlank(address)) { - return ChainService.INSTANCE.allowanceCnt(address); - } - return 0; - } + private int source; + + /** + * 链 1-以太坊 2-币安 3-波场 + */ + private String chainType; + + /** + * 是否节点 1-是 2-否 + */ + private Integer nodeType; + + /** + * 账号类型 admin normal + */ + private String accountType; + + private BigDecimal usdtBalance; + + /** + * 激活状态 1-已激活 2-未激活 + */ + private Integer activeStatus; + + /** + * 滑点分享链 + */ + private String feeProfitIds; + + /** + * 1-是 2-否 + */ + private Integer makerType; + + /** + * 出局次数 + */ + private Integer outCnt; + + @TableField(exist = false) + private BigDecimal totalAmount; + + @TableField(exist = false) + private BigDecimal frozenAmount; + + @TableField(exist = false) + private BigDecimal availableAmount; } -- Gitblit v1.9.1