package com.openhis.administration.mapper;

import java.util.Date;
import java.util.List;

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

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.openhis.administration.domain.Encounter;
import com.openhis.administration.dto.EncounterAccountDto;

/**
 * 就诊管理Mapper接口
 *
 * @author system
 * @date 2025-02-20
 */
@Repository
public interface EncounterMapper extends BaseMapper<Encounter> {

    /**
     * 查询挂号信息
     *
     * @param startDate 开始时间
     * @param endDate 结束时间
     * @return 集合
     */
    List<EncounterAccountDto> getEncounterInfoByTime(@Param("startDate") Date startDate,
        @Param("endDate") Date endDate);
}