From 5f1941acf9148dedde559f52f6f6b893a27bac84 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 16 Aug 2023 10:43:43 +0800
Subject: [PATCH] 后台修改

---
 src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java |   77 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 77 insertions(+), 0 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 6351920..57d87a9 100644
--- a/src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java
+++ b/src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java
@@ -1,6 +1,10 @@
 package cc.mrbird.febs.dapp.mapper;
 
+import cc.mrbird.febs.dapp.dto.MallGoodsQueryDto;
+import cc.mrbird.febs.dapp.dto.MallOrderQueryDto;
 import cc.mrbird.febs.dapp.entity.DappMemberEntity;
+import cc.mrbird.febs.dapp.entity.MallAddressInfo;
+import cc.mrbird.febs.dapp.vo.*;
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
@@ -30,4 +34,77 @@
     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);
+
+    List<DappMemberEntity> selectAllMemberInfoByRefererId(@Param("inviteId")String inviteId);
+
+    Integer selectCountByAccountTypeAndRefererId(@Param("accountType")String code, @Param("refererId")String inviteId);
+
+    IPage<AdminTeamInfoVo> findTeamInfoListInPage(Page<AdminTeamInfoVo> page, @Param("record")DappMemberEntity dappMemberEntity);
+
+    DappMemberInfoVo selectByMemberId(@Param("id")Long id);
+
+    List<DappMemberEntity> selectByInviteIds(@Param("list")List<String> referrerIdList);
+
+    /**
+     * 获取级别为Type,且直推中有type级别的用户信息
+     * @param type
+     * @return
+     */
+    List<DappMemberEntity> selectMemberByAccountTypeAnd(@Param("accountType")String type);
+
+    List<DappMemberEntity> selectChildAgentListByAccountType(@Param("inviteId") String inviteId, @Param("accountType")String accountType);
+
+    BigDecimal selectAllAchieveByInviteId(@Param("inviteId")String inviteId);
+
+    List<DappMemberEntity> selectMemberByNotAccountType(@Param("accountType")String type);
+
+    List<DappMemberEntity> selectByNodetype();
+
+    List<String> selectAddress();
+
+    IPage<MallGoodsListVo> selectMallGoodsListQueryInPage( @Param("record")MallGoodsQueryDto queryDto, Page<MallGoodsListVo> page);
+
+    IPage<MallOrderListVo> selectMallOrderListQueryInPage( @Param("record")MallOrderQueryDto queryDto, Page<MallOrderListVo> page);
+
+    MallOrderListVo selectMallOrderListVoById(@Param("orderId")Long id);
+
+    List<MallOrderItemVo> selectMallOrderItemVoByOrderId(@Param("orderId")Long id);
+
+    MallGoodsListVo selectMallGoodsListVoById(@Param("goodsId")Long id);
+
+    DappMemberEntity selectInviteLeft(@Param("inviteId")String inviteId);
+
+    DappMemberEntity selectInviteRight(@Param("inviteId")String inviteId);
+
+    List<DappMemberEntity> selectMemberByActiveStatus();
+
+    BigDecimal selectAchieveRecordByInviteId(@Param("inviteId")String inviteId);
+
+    List<DappMemberEntity> selectChildAgentList(@Param("inviteId")String inviteId, @Param("accountType")String accountType);
+
+    DappMemberInfoVo selectDappMemberInfoVoByMemberId(@Param("memberId")long id);
+
+    IPage<MallAddressInfo> selectAddressListInPage(@Param("record")MallGoodsQueryDto queryDto, Page<MallAddressInfo> page);
+
+    Integer selectOrderCntByMemberIdAndStatus(@Param("memberId")Long id, @Param("status")int i);
+
+    IPage<MallAddressInfo> selectShopAddressListInPage(@Param("record")MallGoodsQueryDto queryDto, Page<MallAddressInfo> page);
 }

--
Gitblit v1.9.1