deason 3 주 전
부모
커밋
0ebb003ff6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/cn/com/qmth/examcloud/tool/service/batch_import_exam_student/BatchImportExamStudentTask.java

+ 1 - 1
src/main/java/cn/com/qmth/examcloud/tool/service/batch_import_exam_student/BatchImportExamStudentTask.java

@@ -189,7 +189,7 @@ public class BatchImportExamStudentTask implements TaskService {
         List<String> failRecords = Collections.synchronizedList(new ArrayList<>());
         long startTime = System.currentTimeMillis();
         AtomicInteger successCount = new AtomicInteger(), failCount = new AtomicInteger();
-        if (total <= 50) {
+        if (total <= 1000) {
             // 数量少,正常执行
             this.normalRun(loginUser, dataList, successCount, failCount, task.getId(), failRecords);
         } else {