package com.gxwebsoft.credit.service;

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

import java.util.List;

/**
 * 疑似关系Service
 *
 * @author 科技小王子
 * @since 2026-01-07 13:52:14
 */
public interface CreditSuspectedRelationshipService extends IService<CreditSuspectedRelationship> {

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

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

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

}
