package com.gxwebsoft.credit.service;

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

import java.util.List;

/**
 * 破产重整Service
 *
 * @author 科技小王子
 * @since 2026-01-07 13:52:14
 */
public interface CreditBankruptcyService extends IService<CreditBankruptcy> {

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

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

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

}
