ting.yin 5 years ago
parent
commit
f33aa144cc

+ 3 - 0
stmms-biz/src/main/java/cn/com/qmth/stmms/biz/exam/model/ExamQuestion.java

@@ -178,6 +178,9 @@ public class ExamQuestion implements Serializable {
             for (double score = 0; score <= totalScore; score += intervalScore) {
                 list.add(score);
             }
+            if (list.get(list.size() - 1) < totalScore) {
+                list.add(totalScore);
+            }
         }
         return list;
     }