fix: 更换jenkins查询测试计划接口

This commit is contained in:
wenyann 2021-01-05 17:32:28 +08:00
parent b824302acf
commit 1a43a1605a
3 changed files with 3 additions and 7 deletions

View File

@ -46,11 +46,11 @@ public class TestPlanController {
/*jenkins测试计划*/
@GetMapping("/list/all/{projectId}/{workspaceId}")
public List<TestPlanDTO> listByProjectId(@PathVariable String projectId, @PathVariable String workspaceId) {
public List<TestPlanDTOWithMetric> listByProjectId(@PathVariable String projectId, @PathVariable String workspaceId) {
QueryTestPlanRequest request = new QueryTestPlanRequest();
request.setWorkspaceId(workspaceId);
request.setProjectId(projectId);
return testPlanService.listTestPlanByProject(request);
return testPlanService.listTestPlan(request);
}
@PostMapping("/list/all")

View File

@ -57,7 +57,6 @@ public class TestPlanTestCaseService {
}
public List<TestPlanCaseDTO> listByPlanId(QueryTestPlanCaseRequest request) {
List<TestPlanCaseDTO> list = extTestPlanTestCaseMapper.listByPlanId(request);
return list;
}

View File

@ -48,15 +48,12 @@
</el-row>
<!---->
<div style="border: 0px;margin-bottom: 20px;margin-top: 20px">
<div style="border: 0px;margin-bottom: 20px">
<el-checkbox v-model="formInline.ssl" :label="$t('system_parameter_setting.SSL')"></el-checkbox>
</div>
<div style="border: 0px;margin-bottom: 20px">
<el-checkbox v-model="formInline.tls" :label="$t('system_parameter_setting.TLS')"></el-checkbox>
</div>
<!-- <div style="border: 0px;margin-bottom: 20px">
<el-checkbox v-model="formInline.ANON" :label="$t('system_parameter_setting.SMTP')"></el-checkbox>
</div>-->
<template v-slot:footer>
</template>
</el-form>