|
@@ -56,8 +56,9 @@ public class SubjectiveQuestionDTO implements QuestionDTO {
|
|
setTotalScore(question.getTotalScore());
|
|
setTotalScore(question.getTotalScore());
|
|
setIntervalScore(question.getIntervalScore());
|
|
setIntervalScore(question.getIntervalScore());
|
|
setPicList(group != null ? group.getPicList() : "");
|
|
setPicList(group != null ? group.getPicList() : "");
|
|
- setDoubleRate(group != null && group.getDoubleRate() !=null ? group.getDoubleRate() : 0d);
|
|
|
|
- setArbitrateThreshold(group != null && group.getArbitrateThreshold() !=null? group.getArbitrateThreshold() : 0d);
|
|
|
|
|
|
+ setDoubleRate(group != null && group.getDoubleRate() != null ? group.getDoubleRate() : 0d);
|
|
|
|
+ setArbitrateThreshold(
|
|
|
|
+ group != null && group.getArbitrateThreshold() != null ? group.getArbitrateThreshold() : 0d);
|
|
setScorePolicy(group != null && group.getScorePolicy() != null ? group.getScorePolicy().getValue()
|
|
setScorePolicy(group != null && group.getScorePolicy() != null ? group.getScorePolicy().getValue()
|
|
: ScorePolicy.AVG.getValue());
|
|
: ScorePolicy.AVG.getValue());
|
|
}
|
|
}
|
|
@@ -77,6 +78,7 @@ public class SubjectiveQuestionDTO implements QuestionDTO {
|
|
question.setPicList(picList);
|
|
question.setPicList(picList);
|
|
question.setDoubleRate(doubleRate);
|
|
question.setDoubleRate(doubleRate);
|
|
question.setArbitrateThreshold(arbitrateThreshold);
|
|
question.setArbitrateThreshold(arbitrateThreshold);
|
|
|
|
+ question.setScorePolicy(scorePolicy);
|
|
return question;
|
|
return question;
|
|
}
|
|
}
|
|
|
|
|