xiaoyong931011
2022-12-01 8845e56ec5052b5402c790826c3a6921b628f032
src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java
@@ -1,8 +1,6 @@
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;
@@ -33,9 +31,23 @@
    List<DappMemberEntity> selectMemberByAccountType(@Param("accountType") String accountType);
    List<DappMemberEntity> selectChildMemberDirectOrNot(@Param("inviteId") String inviteId, @Param("type") Integer type);
    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);
    Integer selectCountByAccountTypeAndRefererId(@Param("accountType")String code, @Param("refererId")String inviteId);
}