From dde48b28846af614af49d9e569d12dd69ec910a9 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期二, 27 八月 2024 15:18:09 +0800 Subject: [PATCH] update --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedDoctorOnCallable.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/BedDoctorOnCallable.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedDoctorOnCallable.java index bf36728..09ed183 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedDoctorOnCallable.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/BedDoctorOnCallable.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 BedDoctorOnCallable implements Callable<Integer> { +public class BedDoctorOnCallable implements Callable<ErrorCode> { QueueService queueService; private Long roomId; @@ -20,7 +22,7 @@ this.docName = docName; } - public Integer call() throws Exception { + public ErrorCode call() throws Exception { return queueService.bedDoctorOn(roomId, bedNo, docId, docName); } -- Gitblit v1.9.3