eight
2024-09-04 a47e5cd452a405463c03d1d8c4f97884123a46b2
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/queueService.java
@@ -1,16 +1,15 @@
package cn.lihu.jh.module.ecg.service.queue;
import javax.annotation.Resource;
import javax.validation.Valid;
import java.util.List;
import cn.lihu.jh.framework.common.exception.ErrorCode;
import cn.lihu.jh.framework.common.pojo.CommonResult;
import cn.lihu.jh.module.ecg.controller.admin.queue.vo.*;
import cn.lihu.jh.module.ecg.controller.admin.room.vo.MonitorInfoVO;
import cn.lihu.jh.module.ecg.controller.admin.room.vo.RoomRespVO;
import cn.lihu.jh.module.ecg.dal.dataobject.queue.QueueDO;
import cn.lihu.jh.framework.common.pojo.PageResult;
import org.springframework.scheduling.config.ScheduledTaskRegistrar;
/**
 * 排队 Service 接口
@@ -22,7 +21,7 @@
    void setQueueReadyMax(Integer max);
    void startBiz();
    void closeBiz();
    void resetScheduler();
    /**
     * 创建排队
@@ -49,6 +48,10 @@
    /**
     *
     */
    void startHurryUp();
    void startBedReload();
    MonitorInfoVO getMonitorInfo();
    ErrorCode startBedOpen(Long roomId, String bedNo);
    ErrorCode startBedClose(Long roomId, String bedNo);
    ErrorCode startBedDoctorPause(Long roomId, String bedNo, Long docId, String docName);
@@ -115,4 +118,8 @@
    Integer patientJump(String patId, Byte jumped );
    void monitorInfo();
    List<QueueDO> callingData(Integer waitingNum, Integer passedNum);
    List<QueueDO> getRoomQueue(String ip, List<Byte> statusList);
}