package com.hzs.bonus.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.bonus.base.vo.CuMemberVO;
import com.hzs.bonus.param.MemberParam;
import com.hzs.common.domain.member.base.CuMemberRegister;

import java.util.List;

/**
 * <p>
 * 会员历史记录 Mapper 接口
 * </p>
 *
 * @author hzs
 * @since 2022-08-22
 */
public interface CuMemberRegisterMapper extends BaseMapper<CuMemberRegister> {

    /**
     * 根据条件查询会员注册信息
     *
     * @param memberParam 会员查询条件
     * @return: List<CuMemberRegisterExt>
     * @Author: sui q
     * @Date: 2022/10/13 9:51
     */
    List<CuMemberVO> queryCuMemberRegisterExeByCondition(MemberParam memberParam);

    /**
     * 将用户注册表信息更改为死点
     * @param cuMemberRegister 会员注册信息
     * @return: void
     * @Author: sui q
     * @Date: 2022/10/22 21:11
     */
    void updateCuMemberRegister(CuMemberRegister cuMemberRegister);
}
