package com.gxwebsoft.shop.mapper;

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

import java.util.List;

/**
 * 会员充值订单套餐快照表Mapper
 *
 * @author 科技小王子
 * @since 2023-04-20 20:36:24
 */
public interface RechargeOrderPlanMapper extends BaseMapper<RechargeOrderPlan> {

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

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

}
