|
@@ -126,7 +126,7 @@ public class TRBasicInfoController {
|
|
|
Objects.requireNonNull(c.getTotalScore(), "[" + c.getCourseTargetName() + "]未设置目标分值");
|
|
|
if (new BigDecimal(score).compareTo(c.getTotalWeight()) == 1) {
|
|
|
trBasicInfoService.clearReportData(examId, courseCode, paperNumber, false);
|
|
|
- throw ExceptionResultEnum.ERROR.exception("[" + c.getCourseTargetName() + "]知识点小题总分大于该课程目标分,请重新设置");
|
|
|
+ throw ExceptionResultEnum.ERROR.exception("[" + c.getCourseTargetName() + "]包含的小题总分与权重设置不一致,请到期末成绩--试卷蓝图设置里调整");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -209,7 +209,7 @@ public class TRBasicInfoController {
|
|
|
Objects.requireNonNull(c.getTotalScore(), "[" + c.getCourseTargetName() + "]未设置目标分值");
|
|
|
if (new BigDecimal(score).compareTo(c.getTotalWeight()) == 1) {
|
|
|
trBasicInfoService.clearReportData(examId, courseCode, paperNumber, false);
|
|
|
- throw ExceptionResultEnum.ERROR.exception("[" + c.getCourseTargetName() + "]知识点小题总分大于该课程目标分,请重新设置");
|
|
|
+ throw ExceptionResultEnum.ERROR.exception("[" + c.getCourseTargetName() + "]包含的小题总分与权重设置不一致,请到期末成绩--试卷蓝图设置里调整");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -359,7 +359,7 @@ public class TRBasicInfoController {
|
|
|
stringJoiner.add("[").add(c.getCourseTargetName()).add("]").add("未设置目标分值").add("\r\n");
|
|
|
} else if (new BigDecimal(score).compareTo(c.getTotalWeight()) == 1) {
|
|
|
reportChangeResult.setTargetScoreChange(true);
|
|
|
- stringJoiner.add("[").add(c.getCourseTargetName()).add("]").add("知识点小题总分大于该课程目标分,请重新设置").add("\r\n");
|
|
|
+ stringJoiner.add("[").add(c.getCourseTargetName()).add("]").add("包含的小题总分与权重设置不一致,请到期末成绩--试卷蓝图设置里调整").add("\r\n");
|
|
|
}
|
|
|
}
|
|
|
if (reportChangeResult.isTargetScoreChange()) {
|