eight
2024-09-24 91c60b946e0d2e8abc2c350598aa6d47ed28e83c
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedCloseCallable.java
@@ -1,8 +1,10 @@
package cn.lihu.jh.module.ecg.service.queue;
import cn.lihu.jh.framework.common.exception.ErrorCode;
import java.util.concurrent.Callable;
public class BedCloseCallable implements Callable<Integer> {
public class BedCloseCallable implements Callable<ErrorCode> {
    QueueService queueService;
    private Long roomId;
@@ -16,8 +18,11 @@
        this.queueService = queueService;
    }
    public Integer call() throws Exception {
        return queueService.bedClose(roomId, bedNo);
    public ErrorCode call() throws Exception {
        ErrorCode ec = queueService.bedClose(roomId, bedNo);
        queueService.monitorInfo();
        return ec;
    }
}