From 6c75b0c0fd6862b0d10793821db7017341a6a771 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 18 Aug 2023 16:48:31 +0800
Subject: [PATCH] 后台修改
---
src/main/java/cc/mrbird/febs/dapp/service/DappSystemService.java | 118 ++++++++++++++++++++++++++++++++++++++++++++++-------------
1 files changed, 92 insertions(+), 26 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/dapp/service/DappSystemService.java b/src/main/java/cc/mrbird/febs/dapp/service/DappSystemService.java
index 6955a64..8e6a81d 100644
--- a/src/main/java/cc/mrbird/febs/dapp/service/DappSystemService.java
+++ b/src/main/java/cc/mrbird/febs/dapp/service/DappSystemService.java
@@ -1,60 +1,126 @@
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;
+import java.util.Set;
public interface DappSystemService {
-
- Map<String, Object> findTotalInComeAndList();
-
- Map<String, Object> globalSetting();
SystemDto system();
/**
- * 卖币滑点返利
+ * 投入收益
*
- * @param id
+ * @param isReIn
*/
- void tradeProfitDistribute(Long id);
+ 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);
/**
- * nft滑点
- *
- * @param id
+ * 根据会员ID、预计补贴数量,获取实际可获得补贴的额度
+ * 预计补贴数量是币本位的需要换算成金本位的数据
+ * 并且更新用户的补贴额度数量
+ * @param memberId
+ * @param amount
+ * @return
*/
- void tradeNftProfitDistribute(Long id);
+ BigDecimal getAndUpdateMemberPerk(Long memberId,BigDecimal amount);
/**
- * 挖矿
+ * 根据会员的节点类型会平分
+ * @param nodeThreePoolDicCnt
+ * @param type
*/
- void mining();
+ BigDecimal nodePoolPerk(BigDecimal nodeThreePoolDicCnt, String type, int typeFlow);
- void onlineTransfer(String batchNo);
+ BigDecimal nodePoolEqualsPerk(BigDecimal nodeFivePoolDicCnt, String type, int code);
+
+ BigDecimal superNodePoolPerk(BigDecimal nodeFivePoolDicCnt, String code, int code1);
+
+ void selectAndInsertDics();
/**
- * 用户购买奖励
- *
- * @param id
+ * 初始化参数
+ * @param type
+ * @param code
+ * @param value
+ * @param description
*/
- void userBuyReward(Long id);
+ void selectAndInsertDic(String type, String code, String value, String description);
- void startSystem();
+ void antACoinOutMsg(Long id);
+ /**
+ * A币全网每小时自动燃烧0.1%,燃烧按递减燃烧,按个人每小时0.1%每小时递减。
+ *
+ * A币技术做到资产钱包燃烧,闪兑钱包也要燃烧0.1%每小时
+ */
+ void aCoinFire();
- void transferPoolSetting();
+ void antMemberLevelMsg(Long memberId);
- void sourcePoolUsdtOutLimitSetting();
+ void aKlineJobHour();
- void boxCnt(Long id);
+ void aKlineJobDay();
- boolean systemHasStart();
+ void antKLineMsg(int type);
- BigDecimal newestPrice();
+ void antKLineABMsg(Long id);
- boolean hasProfit(String address);
+ void allMemberPerkAvaMsg(Long id);
- void achieveTree(Long memberId);
+ void contractAnDaoMsg(Long flowId);
+
+ void contractAnDaoInMsg(Long flowId);
+
+ void speedPayOrderMsg(Long orderId);
+
+ void speedAutoLevelUpMsg(Long memberId);
+
+ void memberPerk();
+
+ void speedAutoLevelUpTeamMsg(Long memberId);
+
+ BigDecimal getRealNum(Long memberId,BigDecimal amount);
+
+ void directMemberPerk();
+
+ void speedDirectPerkMsg(Long memberId);
+
+ void teamStaticPerk();
+
+ Set<DappMemberEntity> updateAchieve();
+
+ void speedSalePackageMsg(Long flowId);
+
+ void updatePackage(Set<DappMemberEntity> dappMemberEntities);
}
--
Gitblit v1.9.1