package com.gxwebsoft.cms.mapper;

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

import java.util.List;

/**
 * 页面组件表Mapper
 *
 * @author 科技小王子
 * @since 2024-08-25 20:34:14
 */
public interface DesignRecordMapper extends BaseMapper<DesignRecord> {

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

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

}
