package com.gxwebsoft.credit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.credit.entity.CreditCourtAnnouncement;
import com.gxwebsoft.credit.param.CreditCourtAnnouncementParam;

import java.util.List;

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

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<CreditCourtAnnouncement>
     */
    PageResult<CreditCourtAnnouncement> pageRel(CreditCourtAnnouncementParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<CreditCourtAnnouncement>
     */
    List<CreditCourtAnnouncement> listRel(CreditCourtAnnouncementParam param);

    /**
     * 根据id查询
     *
     * @param id ID
     * @return CreditCourtAnnouncement
     */
    CreditCourtAnnouncement getByIdRel(Integer id);

}
