fix
Helius
2022-11-18 9f4be9d57592615033baf4070007bd0c659fbd9c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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;
 
/**
 * @author 
 * @date 2022-03-17
 **/
public interface DappMemberDao extends BaseMapper<DappMemberEntity> {
 
    DappMemberEntity selectByAddress(@Param("address") String address, @Param("chain") String chain);
 
    DappMemberEntity selectMemberInfoByInviteId(@Param("inviteId") String inviteId);
 
    IPage<DappMemberEntity> selectInPage(@Param("record") DappMemberEntity member, Page<DappMemberEntity> page);
 
    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, @Param("status") Integer status);
 
    BigDecimal selectChildHoldAmount(@Param("inviteId") String inviteId);
 
    List<DappMemberEntity> selectMakerAddress();
 
    int updateMemberActive();
 
    DappMemberEntity selectNewestDirectMember(@Param("inviteId") String inviteId);
 
    List<DappMemberEntity> selectMemberListNeedProfit();
}