package com.gxwebsoft.apps.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.apps.entity.HualalaCardBenefits;
import com.gxwebsoft.apps.param.HualalaCardBenefitsParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 会员权益Mapper
 *
 * @author 科技小王子
 * @since 2023-01-08 12:22:50
 */
public interface HualalaCardBenefitsMapper extends BaseMapper<HualalaCardBenefits> {

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<HualalaCardBenefits>
     */
    List<HualalaCardBenefits> selectPageRel(@Param("page") IPage<HualalaCardBenefits> page,
                             @Param("param") HualalaCardBenefitsParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<HualalaCardBenefits> selectListRel(@Param("param") HualalaCardBenefitsParam param);

}
