package cn.lihu.jh.module.ecg.service.queue; import cn.lihu.jh.framework.common.exception.ErrorCode; import java.util.concurrent.Callable; public class BedReloadCallable implements Callable { QueueService queueService; public BedReloadCallable(QueueService queueService) { super(); this.queueService = queueService; } public ErrorCode call() throws Exception { return queueService.bedReload(); } }