From 4e57dc9dc5e15e28f006ff833c65e97347410685 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 13 May 2022 15:54:54 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=8A=A5=E5=91=8A=E6=97=B6=E5=90=8C=E6=97=B6?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=9B=B8=E5=BA=94=E7=9A=84jmeter.log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../performance/service/PerformanceReportService.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/src/main/java/io/metersphere/performance/service/PerformanceReportService.java b/backend/src/main/java/io/metersphere/performance/service/PerformanceReportService.java index 87327a2219..5a2ee10c13 100644 --- a/backend/src/main/java/io/metersphere/performance/service/PerformanceReportService.java +++ b/backend/src/main/java/io/metersphere/performance/service/PerformanceReportService.java @@ -152,6 +152,11 @@ public class PerformanceReportService { example.createCriteria().andReportIdEqualTo(reportId); loadTestReportDetailMapper.deleteByExample(example); + // delete load_test_report_log + LoadTestReportLogExample loadTestReportLogExample = new LoadTestReportLogExample(); + loadTestReportLogExample.createCriteria().andReportIdEqualTo(reportId); + loadTestReportLogMapper.deleteByExample(loadTestReportLogExample); + // delete jtl file fileService.deleteFileById(loadTestReport.getFileId());