From 0fa4facec447d08879400415689d257d12069f4b Mon Sep 17 00:00:00 2001 From: "song.tianyang" Date: Wed, 3 Feb 2021 18:28:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 代码格式优化 --- .../java/io/metersphere/job/sechedule/TestPlanTestJob.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/src/main/java/io/metersphere/job/sechedule/TestPlanTestJob.java b/backend/src/main/java/io/metersphere/job/sechedule/TestPlanTestJob.java index facd021288..9937fa90ac 100644 --- a/backend/src/main/java/io/metersphere/job/sechedule/TestPlanTestJob.java +++ b/backend/src/main/java/io/metersphere/job/sechedule/TestPlanTestJob.java @@ -29,7 +29,7 @@ public class TestPlanTestJob extends MsScheduleJob { private String projectID; -// private PerformanceTestService performanceTestService; + // private PerformanceTestService performanceTestService; // private TestPlanScenarioCaseService testPlanScenarioCaseService; // private TestPlanApiCaseService testPlanApiCaseService; // private ApiTestCaseService apiTestCaseService; @@ -66,13 +66,12 @@ public class TestPlanTestJob extends MsScheduleJob { this.projectID = jobDataMap.getString("projectId"); - businessExecute(context); } @Override void businessExecute(JobExecutionContext context) { - testPlanService.run(this.resourceId,this.projectID,this.userId,ReportTriggerMode.SCHEDULE.name()); + testPlanService.run(this.resourceId, this.projectID, this.userId, ReportTriggerMode.SCHEDULE.name()); } public static JobKey getJobKey(String testId) {