@@ -72,6 +72,10 @@ public class BatchCreateUserTask implements TaskService {
return;
}
+ if (total > 1000) {
+ throw new StatusException("Excel数据条数限制1000条以内!");
+ }
+
// 检验数据
Map<String, Long> orgMaps = new HashMap<>();
Map<String, Long> courseMaps = new HashMap<>();
@@ -78,6 +78,10 @@ public class BatchImportExamStudentTask implements TaskService {
+ if (total > 100000) {
+ throw new StatusException("Excel数据条数限制10万条以内!");