package com.gxwebsoft.credit.service;

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

import java.util.List;

/**
 * 附近企业Service
 *
 * @author 科技小王子
 * @since 2026-01-07 13:52:14
 */
public interface CreditNearbyCompanyService extends IService<CreditNearbyCompany> {

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

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

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

}
