package com.gxwebsoft.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.shop.entity.RechargeOrderPlan;
import com.gxwebsoft.shop.param.RechargeOrderPlanParam;

import java.util.List;

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

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<RechargeOrderPlan>
     */
    PageResult<RechargeOrderPlan> pageRel(RechargeOrderPlanParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<RechargeOrderPlan>
     */
    List<RechargeOrderPlan> listRel(RechargeOrderPlanParam param);

    /**
     * 根据id查询
     *
     * @param orderPlanId 主键ID
     * @return RechargeOrderPlan
     */
    RechargeOrderPlan getByIdRel(Integer orderPlanId);

}
