eight
2024-08-27 dde48b28846af614af49d9e569d12dd69ec910a9
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,7 +18,7 @@
        this.queueService = queueService;
    }
    public Integer call() throws Exception {
    public ErrorCode call() throws Exception {
        return queueService.bedClose(roomId, bedNo);
    }