diff --git a/backend/src/main/java/io/metersphere/api/service/ApiScenarioReportService.java b/backend/src/main/java/io/metersphere/api/service/ApiScenarioReportService.java index efa306fe41..68424f694b 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiScenarioReportService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiScenarioReportService.java @@ -632,7 +632,7 @@ public class ApiScenarioReportService { definitionExecResultMapper.deleteByExample(definitionExecResultExample); ApiDefinitionExecResultExample execResultExample = new ApiDefinitionExecResultExample(); - execResultExample.createCriteria().andIntegratedReportIdIn(handleIdList); + execResultExample.createCriteria().andIntegratedReportIdIn(ids); definitionExecResultMapper.deleteByExample(execResultExample); } }