From e92fd4ee90a7296fcb2336409d128dfd1bf653f4 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 26 Oct 2022 15:01:06 +0800
Subject: [PATCH] 20221021
---
src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java | 46 ++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 44 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 faa0af4..3254cb9 100644
--- a/src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java
+++ b/src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java
@@ -1,20 +1,26 @@
package cc.mrbird.febs.dapp.mapper;
+import cc.mrbird.febs.common.entity.FebsResponse;
+import cc.mrbird.febs.dapp.dto.ApiMyTeammateInfoDto;
+import cc.mrbird.febs.dapp.dto.TeamListDto;
import cc.mrbird.febs.dapp.entity.DappMemberEntity;
+import cc.mrbird.febs.dapp.vo.ApiMyTeammateInfoListVo;
+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;
/**
- * @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);
@@ -23,4 +29,40 @@
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);
+
+ BigDecimal selectChildHoldAmount(@Param("inviteId") String inviteId);
+
+ IPage<TeamListVo> selectTeamListInPage(@Param("record") TeamListDto teamListDto, Page<TeamListDto> page);
+
+ List<DappMemberEntity> selectMakerAddress();
+
+ DappMemberEntity selectMemberInfoByUsername(@Param("username")String account);
+
+ DappMemberEntity selectMemberInfoByUsernameAndPassword(@Param("username") String account,@Param("password") String md5Pwd);
+
+ DappMemberEntity selectMemberInfoByTouristMark(@Param("touristMark")String touristMark);
+
+ DappMemberEntity selectRelationShipByInviteIdOutAndMemberId(@Param("id")Long id, @Param("inviteId")String inviteId);
+
+ IPage<DappMemberEntity> selectMemberListInPage(@Param("record")DappMemberEntity member, Page<DappMemberEntity> page);
+
+ void updateIsOnHook();
+
+ IPage<ApiMyTeammateInfoListVo> selectMyTeammateInfoInPage(@Param("record")ApiMyTeammateInfoDto apiMyTeammateInfoDto, Page<ApiMyTeammateInfoListVo> page);
+
+ void updateIdentity();
+
+ List<DappMemberEntity> selectTotalAmountByRefererId(@Param("inviteId")String inviteId);
+
+ void updateIdentityByMemberId(@Param("identity")String code, @Param("id")Long memberEntityId);
+
+ List<DappMemberEntity> selectTotalAmountByRefererIdAndIdentity(@Param("inviteId")String inviteId, @Param("identity")String identity);
}
--
Gitblit v1.9.1