fix(测试计划): 修复测试计划按照状态筛选的问题
This commit is contained in:
parent
004c8f5637
commit
6fc6ffa1d1
|
@ -768,7 +768,9 @@
|
|||
test_plan.group_id AS testPlanGroupId
|
||||
from test_plan_api_case resource
|
||||
INNER JOIN test_plan ON test_plan.id = resource.test_plan_id
|
||||
INNER JOIN api_test_case ON resource.api_case_id = api_test_case.id
|
||||
where test_plan.project_id = #{projectId}
|
||||
AND api_test_case.deleted is false
|
||||
AND test_plan.status != 'ARCHIVED'
|
||||
</select>
|
||||
<select id="selectDistinctExecResultByTestPlanIds"
|
||||
|
|
|
@ -536,7 +536,9 @@
|
|||
test_plan.group_id AS testPlanGroupId
|
||||
from test_plan_api_scenario resource
|
||||
INNER JOIN test_plan ON test_plan.id = resource.test_plan_id
|
||||
INNER JOIN api_scenario ON resource.api_scenario_id = api_scenario.id
|
||||
where test_plan.project_id = #{projectId}
|
||||
AND api_scenario.deleted is false
|
||||
AND test_plan.status != 'ARCHIVED'
|
||||
</select>
|
||||
<select id="selectDistinctExecResultByTestPlanIds"
|
||||
|
|
|
@ -632,7 +632,9 @@
|
|||
test_plan.group_id AS testPlanGroupId
|
||||
from test_plan_functional_case resource
|
||||
INNER JOIN test_plan ON test_plan.id = resource.test_plan_id
|
||||
INNER JOIN functional_case ON resource.functional_case_id = functional_case.id
|
||||
where test_plan.project_id = #{projectId}
|
||||
AND functional_case.deleted is false
|
||||
AND test_plan.status != 'ARCHIVED'
|
||||
</select>
|
||||
<select id="selectTestPlanIdByFunctionCaseId" resultType="java.lang.String">
|
||||
|
|
Loading…
Reference in New Issue