package com.eleadmin.test.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eleadmin.common.core.web.PageResult;
import com.eleadmin.test.entity.TenantSetting;
import com.eleadmin.test.param.TenantSettingParam;

import java.util.List;

/**
 * 系统设置表Service
 *
 * @author 科技小王子
 * @since 2022-08-29 09:27:05
 */
public interface TenantSettingService extends IService<TenantSetting> {

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

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

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

}
