package com.gxwebsoft.credit.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.credit.entity.CreditSuspectedRelationship;
import com.gxwebsoft.credit.param.CreditSuspectedRelationshipParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<CreditSuspectedRelationship>
     */
    List<CreditSuspectedRelationship> selectPageRel(@Param("page") IPage<CreditSuspectedRelationship> page,
                             @Param("param") CreditSuspectedRelationshipParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<CreditSuspectedRelationship> selectListRel(@Param("param") CreditSuspectedRelationshipParam param);

}
