package com.gxwebsoft.shop.service;

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

import java.util.List;

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

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

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

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

}
