|
@@ -199,7 +199,6 @@ public class CourseSectionServiceImpl extends ServiceImpl<CourseSectionMapper, C
|
|
|
int size = sectionList.size();
|
|
|
for (CourseSectionImport sectionImport : sectionList) {
|
|
|
|
|
|
- Index++;
|
|
|
CourseSectionAddBo bo = new CourseSectionAddBo();
|
|
|
if(!Validator.isNotEmpty(sectionImport.getName())){
|
|
|
errorLog+="第"+ (size - Index)+"条:"+"节标题空白。\r\n";
|
|
@@ -287,6 +286,7 @@ public class CourseSectionServiceImpl extends ServiceImpl<CourseSectionMapper, C
|
|
|
}
|
|
|
errorLog = insertByAddBoImport(bo,errorLog,(size - Index));
|
|
|
i++;
|
|
|
+ Index++;
|
|
|
}
|
|
|
return errorLog;
|
|
|
}
|