|
@@ -11,10 +11,7 @@ import org.springframework.stereotype.Service;
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @author chenken
|
|
|
|
- * @date 2018/8/17 14:48
|
|
|
|
- * @company QMTH
|
|
|
|
- * @description 考试抓拍处理队列服务实现
|
|
|
|
|
|
+ * 处理考试抓拍队列
|
|
*/
|
|
*/
|
|
@Service("examCaptureQueueService")
|
|
@Service("examCaptureQueueService")
|
|
public class ExamCaptureQueueServiceImpl implements ExamCaptureQueueService {
|
|
public class ExamCaptureQueueServiceImpl implements ExamCaptureQueueService {
|
|
@@ -24,15 +21,14 @@ public class ExamCaptureQueueServiceImpl implements ExamCaptureQueueService {
|
|
@Autowired
|
|
@Autowired
|
|
private ExamCaptureQueueRepo examCaptureQueueRepo;
|
|
private ExamCaptureQueueRepo examCaptureQueueRepo;
|
|
|
|
|
|
|
|
+ @Deprecated
|
|
@Override
|
|
@Override
|
|
- public boolean saveExamCaptureQueueEntityByFailed(Long captureQueueId, String errorMsg,
|
|
|
|
- ExamCaptureQueueStatus examCaptureQueueStatus) {
|
|
|
|
|
|
+ public boolean saveExamCaptureQueueEntityByFailed(Long captureQueueId, String errorMsg, ExamCaptureQueueStatus status) {
|
|
try {
|
|
try {
|
|
- examCaptureQueueRepo.saveExamCaptureQueueEntityByFailed(captureQueueId, errorMsg, examCaptureQueueStatus.toString(),
|
|
|
|
- "000000", new Date());
|
|
|
|
|
|
+ examCaptureQueueRepo.saveExamCaptureQueueEntityByFailed(captureQueueId, errorMsg, status.toString(), "000000", new Date());
|
|
return true;
|
|
return true;
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
- log.error("[UPDATE_FAILED_CAPTURE_QUEUE] 保存照片队列处理失败数据时出现异常", e);
|
|
|
|
|
|
+ log.error("保存照片队列处理失败数据时出现异常!{}", e.getMessage());
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
}
|