ruoyi-system/src/main/java/com/ruoyi/system/service/ProjectCategoryCalculator.java
@@ -496,12 +496,12 @@ } // 根据阈值判断类别(从高到低判断) if (finalScore >= thresholdC) { return "C"; if (finalScore >= thresholdA) { return "A"; } else if (finalScore >= thresholdB) { return "B"; } else if (finalScore >= thresholdA) { return "A"; } else if (finalScore >= thresholdC) { return "C"; } else { return "C"; // 不满足任何类别 } @@ -558,10 +558,10 @@ break; } } if (!matchesRule) { break; } //短路或开关 // if (!matchesRule) { // break; // } } if (matchesRule) {