package com.gxwebsoft.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.shop.entity.MerchantGoodsPackage;
import com.gxwebsoft.shop.param.MerchantGoodsPackageParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商家充值套餐Mapper
 *
 * @author 科技小王子
 * @since 2024-11-20 01:55:04
 */
public interface MerchantGoodsPackageMapper extends BaseMapper<MerchantGoodsPackage> {

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

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

}
