package com.gxwebsoft.cms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.cms.entity.DesignRecord;
import com.gxwebsoft.cms.param.DesignRecordParam;

import java.util.List;

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

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

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

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

}
