From 3dbb5a2e5ae80fa0a4d01da70784a9b5c3a354ab Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Thu, 4 Feb 2021 15:23:34 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E6=AF=8F=E5=A4=A9=E5=AE=9A=E6=97=B6=E6=B8=85=E7=90=86?= =?UTF-8?q?=E5=B7=B2=E7=BB=8F=E6=89=A7=E8=A1=8C=E5=AE=8C=E6=88=90=E7=9A=84?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=B8=AD=E9=97=B4=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit b96c602842957d51223df7b76e9a4b49d17f8d69) --- .../performance/job/LoadTestReportDetailCleanJob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/performance/job/LoadTestReportDetailCleanJob.java b/backend/src/main/java/io/metersphere/performance/job/LoadTestReportDetailCleanJob.java index a7d5133a63..f05ccb25a9 100644 --- a/backend/src/main/java/io/metersphere/performance/job/LoadTestReportDetailCleanJob.java +++ b/backend/src/main/java/io/metersphere/performance/job/LoadTestReportDetailCleanJob.java @@ -23,7 +23,7 @@ public class LoadTestReportDetailCleanJob { * 每天处理一次清理任务 */ @QuartzScheduled(cron = "0 0 1 * * ?") - public void test() { + public void cleanCompletedTestDetail() { LoadTestReportExample example = new LoadTestReportExample(); example.createCriteria().andStatusEqualTo(PerformanceTestStatus.Completed.name()); List loadTestReports = loadTestReportMapper.selectByExample(example);