|
@@ -114,7 +114,7 @@ public class StudentImportServiceImpl implements StudentImportService {
|
|
task.setProgress(100d);
|
|
task.setProgress(100d);
|
|
long cost = (System.currentTimeMillis() - startTime) / 1000L;
|
|
long cost = (System.currentTimeMillis() - startTime) / 1000L;
|
|
log.info("【考生导入】共{}条 已导入:{}条 已耗时:{}秒 进度:100% taskId:{}", total, finishCount, cost, taskId);
|
|
log.info("【考生导入】共{}条 已导入:{}条 已耗时:{}秒 进度:100% taskId:{}", total, finishCount, cost, taskId);
|
|
- examRoomService.clearByExamAndSubject(examId, subjectCode);
|
|
|
|
|
|
+ examRoomService.modifyByExamAndSubject(examId, subjectCode);
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
task.setStatus(AsyncTaskStatus.FAILED);
|
|
task.setStatus(AsyncTaskStatus.FAILED);
|
|
task.setErrMsg(String.format("导入异常终止,已导入%s条,未导入%s条!", finishCount, total - finishCount));
|
|
task.setErrMsg(String.format("导入异常终止,已导入%s条,未导入%s条!", finishCount, total - finishCount));
|