|
@@ -161,9 +161,12 @@ public class ExamQuestion implements Serializable {
|
|
|
public List<Double> getScoreList() {
|
|
|
List<Double> list = new LinkedList<Double>();
|
|
|
if (totalScore != null && intervalScore != null) {
|
|
|
+ totalScore = totalScore * 100;
|
|
|
+ intervalScore = intervalScore * 100;
|
|
|
for (double score = 0; score <= totalScore; score += intervalScore) {
|
|
|
- list.add(score);
|
|
|
+ list.add(score / 100);
|
|
|
}
|
|
|
+ totalScore = totalScore / 100;
|
|
|
if (list.get(list.size() - 1) < totalScore) {
|
|
|
list.add(totalScore);
|
|
|
}
|