package com.eleadmin.test.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.eleadmin.test.entity.TenantSetting;
import com.eleadmin.test.param.TenantSettingParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<TenantSetting>
     */
    List<TenantSetting> selectPageRel(@Param("page") IPage<TenantSetting> page,
                             @Param("param") TenantSettingParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<TenantSetting> selectListRel(@Param("param") TenantSettingParam param);

}
