From 9b3a67db63c2a51c1e97501b9e73f792a5f55bf8 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 01 Dec 2022 12:06:28 +0800
Subject: [PATCH] 20221130

---
 src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java |   27 ++++++++++++++++++++++++++-
 1 files changed, 26 insertions(+), 1 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 46149ed..c4c8f17 100644
--- a/src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java
+++ b/src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java
@@ -1,11 +1,14 @@
 package cc.mrbird.febs.dapp.mapper;
 
+import cc.mrbird.febs.dapp.dto.TeamListDto;
 import cc.mrbird.febs.dapp.entity.DappMemberEntity;
+import cc.mrbird.febs.dapp.vo.TeamListVo;
 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;
 
 /**
@@ -14,7 +17,7 @@
  **/
 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);
 
@@ -25,4 +28,26 @@
     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();
+
+    DappMemberEntity selectNewestDirectMember(@Param("inviteId") String inviteId);
+
+    List<DappMemberEntity> selectMemberListNeedProfit();
+
+    void updateMemberAccountType(@Param("accountType")String code, @Param("id")Long id);
+
+    void updateMemberActiveStatus(@Param("accountStatus")int i, @Param("id")Long id);
+
+    List<DappMemberEntity> selectMemberInfoByRefererId(@Param("refererId")String inviteId);
 }

--
Gitblit v1.9.1