Browse Source

四率工具类

tags/正式版本
王宁 2 years ago
parent
commit
24b7fd9286
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      sexam/src/main/java/com/xhkjedu/sexam/utils/ExamUtil.java

+ 2
- 2
sexam/src/main/java/com/xhkjedu/sexam/utils/ExamUtil.java View File

@@ -413,9 +413,9 @@ public class ExamUtil {
413 413
         if (scorerate != null) {
414 414
             if (scorerate >= 85) {
415 415
                 ratetype = 1;
416
-            } else if (scorerate < 85 && scorerate >= 70) {
416
+            } else if (scorerate >= 70) {
417 417
                 ratetype = 2;
418
-            } else if (scorerate < 70 && scorerate >= 60) {
418
+            } else if (scorerate >= 60) {
419 419
                 ratetype = 3;
420 420
             }else if(scorerate < 60 && scorerate > 40){
421 421
                 ratetype = 4;

Loading…
Cancel
Save