eight
2024-10-15 a0cb526759c40821f0c98fab6dd24e4b8d4ba2c8
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedDoctorNextPatientCallable.java
@@ -7,11 +7,11 @@
public class BedDoctorNextPatientCallable implements Callable<ErrorCode> {
    QueueService queueService;
    QueueServiceTxFunctions queueService;
    private Long roomId;
    private String bedNo;
    public BedDoctorNextPatientCallable(QueueService queueService, Long roomId, String bedNo)
    public BedDoctorNextPatientCallable(QueueServiceTxFunctions queueService, Long roomId, String bedNo)
    {
        super();
        this.roomId = roomId;
@@ -22,9 +22,10 @@
    public ErrorCode call() throws Exception {
        ErrorCode ec = queueService.nextPatient(roomId, bedNo);
        if (GlobalErrorCodeConstants.SUCCESS.equals(ec)) {
            queueService.hurryup();
            queueService.hurryupOneBed(roomId, bedNo);
        }
        queueService.monitorInfo();
        return ec;
    }