From 612127d7830372cda153b4af4a41c5e3b9f7e4f0 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期四, 29 八月 2024 18:28:32 +0800 Subject: [PATCH] update job scheduler --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedCloseCallable.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedCloseCallable.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedCloseCallable.java index fba487e..d80108f 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedCloseCallable.java +++ b/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); } -- Gitblit v1.9.3