xiaoyong931011
2023-05-26 57c12d09f1478036f659a718c81a18f7875aeccb
src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java
@@ -56,4 +56,19 @@
    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);
}