package com.gxwebsoft.shop.service;

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

import java.util.List;

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

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

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

    /**
     * 根据id查询
     *
     * @param id 
     * @return MerchantGoodsPackage
     */
    MerchantGoodsPackage getByIdRel(Integer id);

}
