package com.gxwebsoft.credit.mapper;

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

import java.util.List;

/**
 * 法院公告司法大数据Mapper
 *
 * @author 科技小王子
 * @since 2025-12-19 19:49:13
 */
public interface CreditCourtAnnouncementMapper extends BaseMapper<CreditCourtAnnouncement> {

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

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

}
