archive file
parent
2466491140
commit
78503c4375
|
|
@ -260,6 +260,7 @@ public class QuestionExcelImporter {
|
||||||
row.setRowIndex(rowIndex);
|
row.setRowIndex(rowIndex);
|
||||||
String coursewareName = StrUtil.trim(row.getCoursewareName());
|
String coursewareName = StrUtil.trim(row.getCoursewareName());
|
||||||
if (!StringUtils.hasText(coursewareName) && formCoursewareManagementId != null) {
|
if (!StringUtils.hasText(coursewareName) && formCoursewareManagementId != null) {
|
||||||
|
coursewareName = DEFAULT_IMPORT_COURSEWARE_NAME;
|
||||||
row.setCoursewareName(DEFAULT_IMPORT_COURSEWARE_NAME);
|
row.setCoursewareName(DEFAULT_IMPORT_COURSEWARE_NAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -371,6 +372,7 @@ public class QuestionExcelImporter {
|
||||||
row.setRowIndex(rowIndex);
|
row.setRowIndex(rowIndex);
|
||||||
String coursewareName = StrUtil.trim(row.getCoursewareName());
|
String coursewareName = StrUtil.trim(row.getCoursewareName());
|
||||||
if (!StringUtils.hasText(coursewareName) && formCoursewareManagementId != null) {
|
if (!StringUtils.hasText(coursewareName) && formCoursewareManagementId != null) {
|
||||||
|
coursewareName = DEFAULT_IMPORT_COURSEWARE_NAME;
|
||||||
row.setCoursewareName(DEFAULT_IMPORT_COURSEWARE_NAME);
|
row.setCoursewareName(DEFAULT_IMPORT_COURSEWARE_NAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue