From 9e6b15381b62287d89482a001a50c8591dd349bb Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Thu, 21 Jul 2022 16:40:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E6=8A=A5=E5=91=8A=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E7=94=A8=E4=BE=8B=E5=A4=B1=E8=B4=A5=E7=9A=84=E7=BC=BA?= =?UTF-8?q?=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1015143 --user=王孝刚 【接口测试】删除用例报告报错了 https://www.tapd.cn/55049933/s/1206483 --- .../io/metersphere/api/service/ApiScenarioReportService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 1cc5779f38..b6f7561175 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiScenarioReportService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiScenarioReportService.java @@ -622,7 +622,7 @@ public class ApiScenarioReportService { deleteScenarioReportResource(request.getId()); - deleteApiDefinitionResult(report.getId()); + deleteApiDefinitionResult(request.getId()); // 补充逻辑,如果是集成报告则把零时报告全部删除 if (report != null && StringUtils.isNotEmpty(report.getScenarioId())) {