package com.gxwebsoft.credit.service;

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

import java.util.List;

/**
 * 风险关系表Service
 *
 * @author 科技小王子
 * @since 2025-12-19 19:51:40
 */
public interface CreditRiskRelationService extends IService<CreditRiskRelation> {

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

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

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

}
