|
@@ -439,7 +439,7 @@ public class PaperUtil {
|
|
Question sub = baseQuestion.getSubQuestions().get(index - 1);
|
|
Question sub = baseQuestion.getSubQuestions().get(index - 1);
|
|
if (updateQuestion.getId().equals(sub.getId())) {
|
|
if (updateQuestion.getId().equals(sub.getId())) {
|
|
if(updateQuestion.getScore().doubleValue()!=baseUnit.getSubScoreList().get(index - 1).doubleValue()) {
|
|
if(updateQuestion.getScore().doubleValue()!=baseUnit.getSubScoreList().get(index - 1).doubleValue()) {
|
|
- throw new StatusException("500", msg+"不能修改分数");
|
|
|
|
|
|
+// throw new StatusException("500", msg+"不能修改分数");
|
|
}
|
|
}
|
|
checkUpdate(updateQuestion, sub,msg);
|
|
checkUpdate(updateQuestion, sub,msg);
|
|
|
|
|
|
@@ -448,7 +448,7 @@ public class PaperUtil {
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
if(updateUnit.getScore().doubleValue()!=baseUnit.getScore().doubleValue()) {
|
|
if(updateUnit.getScore().doubleValue()!=baseUnit.getScore().doubleValue()) {
|
|
- throw new StatusException("500", msg+"不能修改分数");
|
|
|
|
|
|
+// throw new StatusException("500", msg+"不能修改分数");
|
|
}
|
|
}
|
|
checkUpdate(updateQuestion, baseQuestion,msg);
|
|
checkUpdate(updateQuestion, baseQuestion,msg);
|
|
}
|
|
}
|
|
@@ -464,7 +464,7 @@ public class PaperUtil {
|
|
||QuesStructType.MULTIPLE_ANSWER_QUESTION.equals(base.getQuestionType())
|
|
||QuesStructType.MULTIPLE_ANSWER_QUESTION.equals(base.getQuestionType())
|
|
||QuesStructType.BOOL_ANSWER_QUESTION.equals(base.getQuestionType())){
|
|
||QuesStructType.BOOL_ANSWER_QUESTION.equals(base.getQuestionType())){
|
|
if(!update.getQuesAnswer().equals(base.getQuesAnswer())) {
|
|
if(!update.getQuesAnswer().equals(base.getQuesAnswer())) {
|
|
- throw new StatusException("500", msg+"不能修改客观题答案");
|
|
|
|
|
|
+// throw new StatusException("500", msg+"不能修改客观题答案");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if(!answerTypeEquals(update.getAnswerType(),base.getAnswerType())) {
|
|
if(!answerTypeEquals(update.getAnswerType(),base.getAnswerType())) {
|