|
@@ -590,7 +590,8 @@ public class MarkGroupController extends BaseExamController {
|
|
for (int i = 0; i < questionList.size(); i++) {
|
|
for (int i = 0; i < questionList.size(); i++) {
|
|
ExamQuestion q = questionList.get(i);
|
|
ExamQuestion q = questionList.get(i);
|
|
q.setIntervalScore(intervalScores.get(i));
|
|
q.setIntervalScore(intervalScores.get(i));
|
|
- if (ArbitrateType.QUESTION.equals(group.getArbitrateType())) {
|
|
|
|
|
|
+ if (doubleRate != null && doubleRate > 0
|
|
|
|
+ && ArbitrateType.QUESTION.equals(group.getArbitrateType())) {
|
|
q.setArbitrateThreshold(arbitrateThresholds.get(i));
|
|
q.setArbitrateThreshold(arbitrateThresholds.get(i));
|
|
} else {
|
|
} else {
|
|
q.setArbitrateThreshold(null);
|
|
q.setArbitrateThreshold(null);
|
|
@@ -723,7 +724,8 @@ public class MarkGroupController extends BaseExamController {
|
|
Integer questionId = questionIds[i];
|
|
Integer questionId = questionIds[i];
|
|
ExamQuestion question = questionService.findById(questionId);
|
|
ExamQuestion question = questionService.findById(questionId);
|
|
question.setGroupNumber(number);
|
|
question.setGroupNumber(number);
|
|
- if (ArbitrateType.QUESTION.equals(ArbitrateType.findByValue(arbitrateType))) {
|
|
|
|
|
|
+ if (doubleRate != null && doubleRate > 0
|
|
|
|
+ && ArbitrateType.QUESTION.equals(ArbitrateType.findByValue(arbitrateType))) {
|
|
question.setArbitrateThreshold(arbitrateThresholds.get(i));
|
|
question.setArbitrateThreshold(arbitrateThresholds.get(i));
|
|
} else {
|
|
} else {
|
|
question.setArbitrateThreshold(null);
|
|
question.setArbitrateThreshold(null);
|