package com.gxwebsoft.clinic.mapper;

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

import java.util.List;

/**
 * 挂号Mapper
 *
 * @author 科技小王子
 * @since 2025-10-19 09:27:03
 */
public interface ClinicAppointmentMapper extends BaseMapper<ClinicAppointment> {

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

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

}
