package com.openhis.web.doctorstation.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.openhis.web.doctorstation.dto.ReservationRecordDto;

/**
 * 医生站-预约记录 应用Mapper
 */
@Repository
public interface ReservationRecordAppMapper {

    /**
     * 查询 预约记录
     * 
     * @param page 分页参数
     * @param queryWrapper 查询条件
     * @return 预约记录
     */
    IPage<ReservationRecordDto> getReservationInfo(@Param("page") Page<ReservationRecordDto> page,
        @Param(Constants.WRAPPER) QueryWrapper<ReservationRecordDto> queryWrapper);

}
