KKSU
2024-09-30 36be00e0f3cbe0d559c646fd2977e6e3a74aa6f9
src/main/java/com/xcong/excoin/modules/member/dao/MemberDao.java
@@ -1,15 +1,37 @@
package com.xcong.excoin.modules.member.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xcong.excoin.modules.member.entity.MemberEntity;
import org.apache.ibatis.annotations.Param;
/**
 * @author wzy
 */
public interface MemberDao extends BaseMapper<MemberEntity> {
    public MemberEntity selectMemberInfoByAccount(@Param("account") String account);
    public MemberEntity selectMemberInfoByRefererId(@Param("refererId") String refererId);
}
package com.xcong.excoin.modules.member.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xcong.excoin.modules.coin.entity.ZhiYaTeam;
import com.xcong.excoin.modules.member.entity.MemberEntity;
import com.xcong.excoin.modules.member.parameter.vo.MemberTeamVo;
import com.xcong.excoin.modules.member.parameter.vo.NeedMoneyMemberVo;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
 * @author wzy
 */
public interface MemberDao extends BaseMapper<MemberEntity> {
    public MemberEntity selectMemberInfoByAccount(@Param("account") String account);
    public MemberEntity selectMemberInfoByInviteId(@Param("inviteId") String inviteId);
    public NeedMoneyMemberVo selectFriendRelationUserByMemberId(@Param("memberId") Long memberId);
    public List<NeedMoneyMemberVo> selectAllNeedMoneyMember(@Param("list") List<String> list);
    IPage<MemberTeamVo> selectAllTeamByInviteIdInPage(Page<MemberTeamVo> page, @Param("record")MemberEntity memberEntity);
    List<MemberEntity> selectMemberInfoByRefererId(@Param("inviteId") String inviteId);
    ZhiYaTeam selectZhiYaTeamRecordByMemberId(@Param("memberId")Long zhiShuMemberId);
    int selectMemberCountByInvitedId(@Param("inviteId")String inviteId);
    MemberTeamVo selectAllTeamByInviteIdInPage(@Param("memberId")Long memberId, @Param("inviteId")String inviteId);
}