|
@@ -160,6 +160,7 @@ public class CourseServiceImpl implements CourseService {
|
|
|
if (headerError(line)) {
|
|
|
throw new StatusException("B-100111", "Excel表头错误");
|
|
|
}
|
|
|
+ continue;
|
|
|
}
|
|
|
|
|
|
boolean hasError = false;
|
|
@@ -212,7 +213,7 @@ public class CourseServiceImpl implements CourseService {
|
|
|
|
|
|
}
|
|
|
|
|
|
- if (CollectionUtils.isEmpty(failRecords)) {
|
|
|
+ if (CollectionUtils.isNotEmpty(failRecords)) {
|
|
|
return failRecords;
|
|
|
}
|
|
|
|