package com.gxwebsoft.credit.service;

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

import java.util.List;

/**
 * 诉前调解司法大数据Service
 *
 * @author 科技小王子
 * @since 2025-12-19 19:51:25
 */
public interface CreditMediationService extends IService<CreditMediation> {

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

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

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

}
