|
@@ -153,13 +153,19 @@ public class BatchImportExamStudentTask implements TaskService {
|
|
|
|
|
|
long cost = (System.currentTimeMillis() - start) / 1000L;
|
|
|
log.info("总数:{} 成功数:{} 失败数:{} 平均{}条每秒 已耗时:{}秒 当前第{}条 进度:{}%"
|
|
|
- , total, total - failCount.get(), failCount.get(), runCount / (cost + 1)
|
|
|
+ , total, runCount - failCount.get(), failCount.get(), runCount / (cost + 1)
|
|
|
, cost, runCount, runCount * 100f / total);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
if (!batchList.isEmpty()) {
|
|
|
this.concurrentRun(loginUser, batchList, failCount);
|
|
|
+ batchList.clear();
|
|
|
+
|
|
|
+ long cost = (System.currentTimeMillis() - start) / 1000L;
|
|
|
+ log.info("总数:{} 成功数:{} 失败数:{} 平均{}条每秒 已耗时:{}秒 当前第{}条 进度:{}%"
|
|
|
+ , total, runCount - failCount.get(), failCount.get(), runCount / (cost + 1)
|
|
|
+ , cost, runCount, runCount * 100f / total);
|
|
|
}
|
|
|
|
|
|
long cost = (System.currentTimeMillis() - start) / 1000;
|
|
@@ -168,7 +174,6 @@ public class BatchImportExamStudentTask implements TaskService {
|
|
|
log.info(msg);
|
|
|
task.setDescription(msg);
|
|
|
|
|
|
- batchList.clear();
|
|
|
dataList.clear();
|
|
|
}
|
|
|
|