package com.gxwebsoft.cms.service;

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

import java.util.List;

/**
 * 文档内容记录表Service
 *
 * @author 科技小王子
 * @since 2024-09-10 20:47:57
 */
public interface CmsDocsContentService extends IService<CmsDocsContent> {

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

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

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

}
