ソースを参照

错误逻辑修改

weiwenhai 7 年 前
コミット
8a68e0df4e

+ 1 - 1
cqb-paper/src/main/java/com/qmth/cqb/paper/service/ImportPaperService.java

@@ -565,7 +565,7 @@ public class ImportPaperService {
                 }
                 importPaperCheck.setQuesCount(getContent(tmpText,ImportPaperMsg.questionNum_word));
             } else if (tmpText.startsWith(ImportPaperMsg.score_word)) {
-            	if(!CommonUtils.isInteger(getContent(tmpText,ImportPaperMsg.questionNum_word))){
+            	if(!CommonUtils.isInteger(getContent(tmpText,ImportPaperMsg.score_word))){
             		importPaperCheck.setErrorInfo("[分数]的格式不正确");
                 	throw new PaperException(importPaperCheck.errorInfo);
             	}