archive file

dev-tmp1
luotaiqian 2026-08-28 10:11:35 +08:00
parent 2466491140
commit 78503c4375
1 changed files with 2 additions and 0 deletions

View File

@ -260,6 +260,7 @@ public class QuestionExcelImporter {
row.setRowIndex(rowIndex);
String coursewareName = StrUtil.trim(row.getCoursewareName());
if (!StringUtils.hasText(coursewareName) && formCoursewareManagementId != null) {
coursewareName = DEFAULT_IMPORT_COURSEWARE_NAME;
row.setCoursewareName(DEFAULT_IMPORT_COURSEWARE_NAME);
}
@ -371,6 +372,7 @@ public class QuestionExcelImporter {
row.setRowIndex(rowIndex);
String coursewareName = StrUtil.trim(row.getCoursewareName());
if (!StringUtils.hasText(coursewareName) && formCoursewareManagementId != null) {
coursewareName = DEFAULT_IMPORT_COURSEWARE_NAME;
row.setCoursewareName(DEFAULT_IMPORT_COURSEWARE_NAME);
}