package com.gxwebsoft.cms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.cms.entity.CmsAppSetting;
import com.gxwebsoft.cms.param.CmsAppSettingParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 网站设置Mapper
 *
 * @author 科技小王子
 * @since 2025-02-19 01:35:44
 */
public interface CmsAppSettingMapper extends BaseMapper<CmsAppSetting> {

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

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

}
