feat(测试计划): 返回项目名称
This commit is contained in:
parent
c170455ed5
commit
ccd055e621
|
@ -29,6 +29,9 @@ public class TestPlanCasePageResponse implements Serializable {
|
||||||
@Schema(description = "项目ID")
|
@Schema(description = "项目ID")
|
||||||
private String projectId;
|
private String projectId;
|
||||||
|
|
||||||
|
@Schema(description = "所属项目")
|
||||||
|
private String projectName;
|
||||||
|
|
||||||
@Schema(description = "模板ID")
|
@Schema(description = "模板ID")
|
||||||
private String templateId;
|
private String templateId;
|
||||||
|
|
||||||
|
|
|
@ -101,9 +101,12 @@
|
||||||
test_plan_functional_case.last_exec_time as lastExecTime,
|
test_plan_functional_case.last_exec_time as lastExecTime,
|
||||||
test_plan_functional_case.last_exec_result as lastExecResult,
|
test_plan_functional_case.last_exec_result as lastExecResult,
|
||||||
test_plan_functional_case.test_plan_id as testPlanId,
|
test_plan_functional_case.test_plan_id as testPlanId,
|
||||||
test_plan_functional_case.id
|
test_plan_functional_case.id,
|
||||||
|
project.name as projectName,
|
||||||
|
project.id as projectId
|
||||||
FROM
|
FROM
|
||||||
functional_case
|
functional_case
|
||||||
|
left join project on functional_case.project_id = project.id
|
||||||
LEFT JOIN project_version ON functional_case.version_id = project_version.id
|
LEFT JOIN project_version ON functional_case.version_id = project_version.id
|
||||||
left join test_plan_functional_case on functional_case.id = test_plan_functional_case.functional_case_id
|
left join test_plan_functional_case on functional_case.id = test_plan_functional_case.functional_case_id
|
||||||
where functional_case.deleted = #{deleted}
|
where functional_case.deleted = #{deleted}
|
||||||
|
|
Loading…
Reference in New Issue