package com.gxwebsoft.shop.service;

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

import java.util.List;

/**
 * 分销商设置表Service
 *
 * @author 科技小王子
 * @since 2024-07-28 11:57:41
 */
public interface DealerSettingService extends IService<DealerSetting> {

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

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

    /**
     * 根据id查询
     *
     * @param key 设置项标示
     * @return DealerSetting
     */
    DealerSetting getByIdRel(String key);

}
