From ce2381119e714643d5393035c3e30ad0bcaa5bd2 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Mon, 17 Jun 2024 15:11:05 +0800
Subject: [PATCH] 后台
---
src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java | 34 ++++++++++++++++++++++++++++++++--
1 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java b/src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java
index 4415bcd..8428892 100644
--- a/src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java
+++ b/src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java
@@ -2,15 +2,45 @@
import cc.mrbird.febs.dapp.entity.DappMemberEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
+import java.math.BigDecimal;
+import java.util.List;
+
/**
- * @author wzy
+ * @author
* @date 2022-03-17
**/
public interface DappMemberDao extends BaseMapper<DappMemberEntity> {
- DappMemberEntity selectByAddress(@Param("address") String address);
+ DappMemberEntity selectByAddress(@Param("address") String address, @Param("chain") String chain);
DappMemberEntity selectMemberInfoByInviteId(@Param("inviteId") String inviteId);
+
+ IPage<DappMemberEntity> selectInPage(@Param("record") DappMemberEntity member, Page<DappMemberEntity> page);
+
+ List<DappMemberEntity> selectAllMemberForInCome();
+
+ List<DappMemberEntity> selectAgentMemberList(@Param("list") List<String> inviteIds, @Param("size") Integer size);
+
+ List<DappMemberEntity> selectParentsList(@Param("list") List<String> inviteIds, @Param("size") Integer size);
+
+ BigDecimal selectAllBalance(@Param("accountType") String accountType);
+
+ List<DappMemberEntity> selectMemberByAccountType(@Param("accountType") String accountType);
+
+ List<DappMemberEntity> selectChildMemberDirectOrNot(@Param("inviteId") String inviteId, @Param("type") Integer type, @Param("status") Integer status);
+
+ BigDecimal selectChildHoldAmount(@Param("inviteId") String inviteId);
+
+ List<DappMemberEntity> selectMakerAddress();
+
+ int updateMemberActive();
+ int updateMemberActiveV2(@Param("memberId") Long memberId);
+
+ DappMemberEntity selectNewestDirectMember(@Param("inviteId") String inviteId);
+
+ List<DappMemberEntity> selectMemberListNeedProfit();
}
--
Gitblit v1.9.1