|  |  |  | 
|---|
|  |  |  | package cn.lihu.jh.module.ecg.service.queue; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import cn.lihu.jh.framework.common.exception.ErrorCode; | 
|---|
|  |  |  | import cn.lihu.jh.framework.common.exception.enums.GlobalErrorCodeConstants; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.concurrent.Callable; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public ErrorCode call() throws Exception { | 
|---|
|  |  |  | return queueService.bedDoctorResume(roomId, bedNo, docId, docName); | 
|---|
|  |  |  | ErrorCode ec = queueService.bedDoctorResume(roomId, bedNo, docId, docName); | 
|---|
|  |  |  | if (GlobalErrorCodeConstants.SUCCESS.equals(ec)) { | 
|---|
|  |  |  | queueService.hurryup(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | queueService.monitorInfo(); | 
|---|
|  |  |  | return ec; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|