package com.gxwebsoft.credit.mapper;

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

import java.util.List;

/**
 * 被执行人Mapper
 *
 * @author 科技小王子
 * @since 2025-12-19 19:50:55
 */
public interface CreditJudgmentDebtorMapper extends BaseMapper<CreditJudgmentDebtor> {

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

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

}
