package com.gxwebsoft.credit.service;

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

import java.util.List;

/**
 * 竞争对手Service
 *
 * @author 科技小王子
 * @since 2025-12-19 19:49:05
 */
public interface CreditCompetitorService extends IService<CreditCompetitor> {

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

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

    /**
     * 根据id查询
     *
     * @param id 序号
     * @return CreditCompetitor
     */
    CreditCompetitor getByIdRel(Integer id);

}
