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
         if (scorerate != null) {
413
         if (scorerate != null) {
414
             if (scorerate >= 85) {
414
             if (scorerate >= 85) {
415
                 ratetype = 1;
415
                 ratetype = 1;
416
-            } else if (scorerate < 85 && scorerate >= 70) {
416
+            } else if (scorerate >= 70) {
417
                 ratetype = 2;
417
                 ratetype = 2;
418
-            } else if (scorerate < 70 && scorerate >= 60) {
418
+            } else if (scorerate >= 60) {
419
                 ratetype = 3;
419
                 ratetype = 3;
420
             }else if(scorerate < 60 && scorerate > 40){
420
             }else if(scorerate < 60 && scorerate > 40){
421
                 ratetype = 4;
421
                 ratetype = 4;

Loading…
Cancel
Save