diff --git a/arex-schedule-web-api/src/main/java/com/arextest/schedule/service/PlanConsumePrepareService.java b/arex-schedule-web-api/src/main/java/com/arextest/schedule/service/PlanConsumePrepareService.java
index 7c4e6418..58f60282 100644
--- a/arex-schedule-web-api/src/main/java/com/arextest/schedule/service/PlanConsumePrepareService.java
+++ b/arex-schedule-web-api/src/main/java/com/arextest/schedule/service/PlanConsumePrepareService.java
@@ -93,7 +93,7 @@ public int preparePlan(ReplayPlan replayPlan) {
}
replayStorageService.clearReplayScenes(replayPlan.getAppId());
int planSavedCaseSize = prepareAllActions(replayPlan.getReplayActionItemList());
- if (!replayPlan.isReRun()) {
+ if (!replayPlan.isReRun() && planSavedCaseSize != 0) {
replayPlan.setCaseTotalCount(planSavedCaseSize);
replayPlanRepository.updateCaseTotal(replayPlan.getId(), planSavedCaseSize);
replayPlan.setInitReportItem(true);
diff --git a/pom.xml b/pom.xml
index 4bb99a04..c6106995 100644
--- a/pom.xml
+++ b/pom.xml
@@ -320,5 +320,5 @@
https://github.com/arextest/arex-replay-schedule
https://github.com/arextest/arex-replay-schedule
- 1.2.15
+ 1.2.16
\ No newline at end of file