| | |
| | | package cn.lihu.jh.module.ecg.service.queue; |
| | | |
| | | import cn.lihu.jh.framework.common.exception.ErrorCode; |
| | | |
| | | import java.util.concurrent.Callable; |
| | | |
| | | public class BedDoctorPauseCallable implements Callable<Integer> { |
| | | public class BedDoctorPauseCallable implements Callable<ErrorCode> { |
| | | |
| | | QueueService queueService; |
| | | private Long roomId; |
| | |
| | | this.docName = docName; |
| | | } |
| | | |
| | | public Integer call() throws Exception { |
| | | public ErrorCode call() throws Exception { |
| | | return queueService.bedDoctorPause(roomId, bedNo, docId, docName); |
| | | } |
| | | |