package com.gxwebsoft.credit.service;

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

import java.util.List;

/**
 * 失信被执行人Service
 *
 * @author 科技小王子
 * @since 2025-12-19 19:46:14
 */
public interface CreditBreachOfTrustService extends IService<CreditBreachOfTrust> {

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

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

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

}
