|
@@ -64,7 +64,11 @@ public class AnalyzeDataCheckServiceImpl implements AnalyzeDataCheckService {
|
|
sum = sum.add(tbPaperStruct.getFullScore());
|
|
sum = sum.add(tbPaperStruct.getFullScore());
|
|
}
|
|
}
|
|
if (totalScore.compareTo(sum) != 0) {
|
|
if (totalScore.compareTo(sum) != 0) {
|
|
- throw ExceptionResultEnum.ERROR.exception("试卷总分和试卷结构中各个题目分数之和不一致");
|
|
|
|
|
|
+ String paperNumber = courseCode.substring(0,courseCode.length() - tbPaper.getPaperType().length());
|
|
|
|
+ throw ExceptionResultEnum.ERROR.exception("试卷总分和试卷结构中各个题目分数之和不一致," +
|
|
|
|
+ "请试卷编号为: 【" + paperNumber + "】的命题老师在知学知考教研分析板块下按照如下操作重新配置试卷总分和及格分:" +
|
|
|
|
+ "数据初始化 -> 基础配置 -> 诊断规则定义 -> 更新满分,及格分,并检查满分为命题蓝图设置中各个题目分数之和 -> 保存。" +
|
|
|
|
+ "之后管理员再重新计算该分析批次。");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|