Helius
2022-04-02 06d334585a2174726e3574ea939e10beec620bae
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
package cc.mrbird.febs.dapp.mapper;
 
import cc.mrbird.febs.dapp.entity.DappMemberEntity;
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.util.List;
 
/**
 * @author wzy
 * @date 2022-03-17
 **/
public interface DappMemberDao extends BaseMapper<DappMemberEntity> {
 
    DappMemberEntity selectByAddress(@Param("address") String address);
 
    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);
}