package com.gxwebsoft.clinic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.clinic.entity.ClinicCase;
import com.gxwebsoft.clinic.param.ClinicCaseParam;

import java.util.List;

/**
 * 病例列表Service
 *
 * @author LX
 * @since 2025-12-25 17:24:55
 */
public interface ClinicCaseService extends IService<ClinicCase> {

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

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

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

}
