package com.gxwebsoft.credit.mapper;

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

import java.util.List;

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

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

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

}
