package com.gxwebsoft.credit.mapper;

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

import java.util.List;

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

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

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

}
