|
@@ -100,8 +100,7 @@ public class ImportPaperService {
|
|
|
|
|
|
String errorInfo = paperService.checkPaperName(paperName);
|
|
|
if (errorInfo == null) {
|
|
|
- errorInfo = "";
|
|
|
- errorInfo += processImportPaper(paperName, courseNo, file);
|
|
|
+ errorInfo = processImportPaper(paperName, courseNo, file);
|
|
|
if (StringUtils.isEmpty(errorInfo)) {
|
|
|
return "success";
|
|
|
} else {
|