package com.gxwebsoft.credit.mapper;

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

import java.util.List;

/**
 * 终本案件Mapper
 *
 * @author 科技小王子
 * @since 2025-12-19 19:50:19
 */
public interface CreditFinalVersionMapper extends BaseMapper<CreditFinalVersion> {

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

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

}
