diff --git a/backend/src/main/java/io/metersphere/track/service/TestPlanService.java b/backend/src/main/java/io/metersphere/track/service/TestPlanService.java index 5e90cc6d64..348471e898 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestPlanService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestPlanService.java @@ -1820,7 +1820,7 @@ public class TestPlanService { report.setExecuteRate(0.0); } if (report.getPassCount() != 0 && report.getCaseCount() != null) { - report.setPassRate(report.getPassCount() * 0.1 * 10 / report.getExecuteCount()); + report.setPassRate(report.getPassCount() * 0.1 * 10 / report.getCaseCount()); } else { report.setPassRate(0.0); }