eight
2024-08-27 9b18e467d407c66ecc3c46a197aca45dcc3f8056
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/queueService.java
@@ -14,7 +14,10 @@
 */
public interface QueueService {
    final static Integer MAX_QUEUE_NUM = 3;
    void startBiz();
    void closeBiz();
    /**
     * 创建排队
@@ -39,6 +42,21 @@
    void deletequeue(Integer id);
    /**
     *
     */
    Integer startBedOpen(Long roomId, String bedNo);
    Integer startBedClose(Long roomId, String bedNo);
    Integer startBedDoctorPause(Long roomId, String bedNo, Long docId, String docName);
    Integer startBedDoctorOn(Long roomId, String bedNo, Long docId, String docName);
    Integer startBedDoctorOff(Long roomId, String bedNo, Long docId, String docName);
    Integer bedOpen(Long roomId, String bedNo);
    Integer bedClose(Long roomId, String bedNo);
    Integer bedDoctorPause(Long roomId, String bedNo, Long docId, String docName);
    Integer bedDoctorOn(Long roomId, String bedNo, Long docId, String docName);
    Integer bedDoctorOff(Long roomId, String bedNo, Long docId, String docName);
    /**
     * 获得排队
     *
     * @param id 编号
@@ -61,16 +79,6 @@
    void queue(QueueSaveReqVO queueSaveReqVO);
    /**
     * 系统重启时,从DB同步工位的患者队列数据到 工位优先队列
     */
    void initQueue();
    /**
     * 开诊前一刻,对 就诊准备的 人员 重新排序
     */
    void reorderQueue();
    /**
     * 把医生候诊的队列塞满
     */
    void hurryup();
@@ -89,7 +97,7 @@
    PatientStatisticVO getPatientStatistic(Long roomId, String bedNo);
    Integer passedPatientReturn(Long roomId, String bedNo, String patId);
    Integer recallPatient(Long roomId, String bedNo, String patId);
    Integer queueJump( String patId, Byte jumped );
    Integer patientJump(String patId, Byte jumped );
}