xiaoyong931011
2023-07-28 c10d97a689669d464e0bc7f0dc81544ba73d4dda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
package cc.mrbird.febs.dapp.service;
 
import cc.mrbird.febs.dapp.dto.SystemDto;
import cc.mrbird.febs.dapp.entity.DappMemberEntity;
import cc.mrbird.febs.dapp.entity.DappMineDataEntity;
 
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
 
public interface DappSystemService {
 
    SystemDto system();
 
    void achieveTree(Long memberId);
 
    /**
     * 投入收益
     *
     * @param isReIn
     */
    void putIntoProfit(Long memberId, int isReIn);
 
    void tfcNewPrice(String data);
 
    void resetMatrix();
 
    void feeDistribute(String data);
    //层级奖励分发消息
    void levelProfit(Long id);
    //计算是否有人出局
    void memberOut(Long id);
    //转账拨币
    void bnbTransfer(Long id);
    //代理升级
    void agentUp(Long id);
 
    void bnbTransferTest(Long id);
 
    void AntACoinInMsg(Long id);
 
    void AntACoinAPollInMsg(Long id);
 
    void AntACoinBPollInMsg(Long id);
 
    void antACoinInNodeMsg(Long id);
 
    void antACoinInLevelMsg(Long id);
 
    /**
     *  根据会员ID、预计补贴数量,获取实际可获得补贴的额度
     *  预计补贴数量是币本位的需要换算成金本位的数据
     *  并且更新用户的补贴额度数量
     * @param memberId
     * @param amount
     * @return
     */
    BigDecimal getAndUpdateMemberPerk(Long memberId,BigDecimal amount);
 
    /**
     * 根据会员的节点类型会平分
     * @param nodeThreePoolDicCnt
     * @param type
     */
    BigDecimal nodePoolPerk(BigDecimal nodeThreePoolDicCnt, String type, int typeFlow);
 
    BigDecimal nodePoolEqualsPerk(BigDecimal nodeFivePoolDicCnt, String type, int code);
 
    BigDecimal superNodePoolPerk(BigDecimal nodeFivePoolDicCnt, String code, int code1);
 
    void selectAndInsertDics();
 
    /**
     * 初始化参数
     * @param type
     * @param code
     * @param value
     * @param description
     */
    void selectAndInsertDic(String type, String code, String value, String description);
 
    void antACoinOutMsg(Long id);
    /**
     * A币全网每小时自动燃烧0.1%,燃烧按递减燃烧,按个人每小时0.1%每小时递减。
     *
     * A币技术做到资产钱包燃烧,闪兑钱包也要燃烧0.1%每小时
     */
    void aCoinFire();
 
    void antMemberLevelMsg(Long memberId);
 
    void aKlineJobHour();
 
    void aKlineJobDay();
 
    void antKLineMsg(int type);
 
    void antKLineABMsg(Long id);
 
    void allMemberPerkAvaMsg(Long id);
 
    void contractAnDaoMsg(Long flowId);
 
    void contractAnDaoInMsg(Long flowId);
}