package com.gxwebsoft.clinic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.clinic.entity.ClinicCase;
import com.gxwebsoft.clinic.param.ClinicCaseParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

}
