eight
2024-08-22 a7b5ec90a38f93bc1da2f48676c16bb757cb05f7
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/queueService.java
@@ -5,6 +5,7 @@
import cn.lihu.jh.framework.common.pojo.PageResult;
import javax.validation.Valid;
import java.util.List;
/**
 * 排队 Service 接口
@@ -51,4 +52,38 @@
     */
    PageResult<QueueDO> getqueuePage(QueuePageReqVO pageReqVO);
}
    /**
     * 患者排队
     * @param queueSaveReqVO
     */
    void queue(QueueSaveReqVO queueSaveReqVO);
    /**
     *
     */
    void initQueue();
    /**
     * 开诊前一刻,对 就诊准备的 人员 重新排序
     */
    void reorderQueue();
    /**
     * 把医生候诊的队列塞满
     */
    void hurryup();
    /**
     * 医生叫下一位患者
     */
    void finishNextPatient(Long roomId, String bedNo);
    /**
     * 医生看完患者
     */
    void passNextPatient(Long roomId, String bedNo);
    List<QueueDO> getDoctorQueueByStatus(Long roomId, String bedNo, List<Byte> statusList);
    PatientStatisticVO getPatientStatistic(Long roomId, String bedNo);
}