fix: 代码格式优化

代码格式优化
This commit is contained in:
song.tianyang 2021-02-03 18:28:00 +08:00
parent 683c533db0
commit 0fa4facec4
1 changed files with 2 additions and 3 deletions

View File

@ -29,7 +29,7 @@ public class TestPlanTestJob extends MsScheduleJob {
private String projectID; private String projectID;
// private PerformanceTestService performanceTestService; // private PerformanceTestService performanceTestService;
// private TestPlanScenarioCaseService testPlanScenarioCaseService; // private TestPlanScenarioCaseService testPlanScenarioCaseService;
// private TestPlanApiCaseService testPlanApiCaseService; // private TestPlanApiCaseService testPlanApiCaseService;
// private ApiTestCaseService apiTestCaseService; // private ApiTestCaseService apiTestCaseService;
@ -66,13 +66,12 @@ public class TestPlanTestJob extends MsScheduleJob {
this.projectID = jobDataMap.getString("projectId"); this.projectID = jobDataMap.getString("projectId");
businessExecute(context); businessExecute(context);
} }
@Override @Override
void businessExecute(JobExecutionContext context) { 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) { public static JobKey getJobKey(String testId) {