package com.gxwebsoft.credit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.credit.entity.CreditPatent;
import com.gxwebsoft.credit.param.CreditPatentParam;

import java.util.List;

/**
 * 专利Service
 *
 * @author 科技小王子
 * @since 2026-01-07 13:52:14
 */
public interface CreditPatentService extends IService<CreditPatent> {

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

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

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

}
