fix: 测试计划和评审关联用例列表没有去掉已经关联的用例
This commit is contained in:
parent
2f915b4bc4
commit
63c2f11a01
|
@ -79,8 +79,8 @@
|
||||||
select test_case.id, test_case.name, test_case.priority, test_case.type, test_case.review_status from test_case
|
select test_case.id, test_case.name, test_case.priority, test_case.type, test_case.review_status from test_case
|
||||||
as test_case
|
as test_case
|
||||||
left join test_case_review_test_case as T2 on test_case.id=T2.case_id and T2.review_id =#{request.reviewId}
|
left join test_case_review_test_case as T2 on test_case.id=T2.case_id and T2.review_id =#{request.reviewId}
|
||||||
|
<include refid="notInQueryWhereCondition"/>
|
||||||
and T2.case_id is null
|
and T2.case_id is null
|
||||||
<include refid="notInQueryWhereCondition"></include>
|
|
||||||
ORDER BY test_case.update_time DESC
|
ORDER BY test_case.update_time DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
@ -119,8 +119,8 @@
|
||||||
select test_case.id, test_case.name, test_case.priority, test_case.type, test_case.review_status from test_case
|
select test_case.id, test_case.name, test_case.priority, test_case.type, test_case.review_status from test_case
|
||||||
as test_case
|
as test_case
|
||||||
left join test_plan_test_case as T2 on test_case.id=T2.case_id and T2.plan_id =#{request.planId}
|
left join test_plan_test_case as T2 on test_case.id=T2.case_id and T2.plan_id =#{request.planId}
|
||||||
and T2.case_id is null
|
|
||||||
<include refid="notInQueryWhereCondition"></include>
|
<include refid="notInQueryWhereCondition"></include>
|
||||||
|
and T2.case_id is null
|
||||||
ORDER BY test_case.update_time DESC
|
ORDER BY test_case.update_time DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
|
@ -197,7 +197,7 @@ export default {
|
||||||
}
|
}
|
||||||
if (this.projectId) {
|
if (this.projectId) {
|
||||||
this.condition.projectId = this.projectId;
|
this.condition.projectId = this.projectId;
|
||||||
this.result = this.$post(this.buildPagePath('/test/case/list'), this.condition, response => {
|
this.result = this.$post(this.buildPagePath('/test/case/relate'), this.condition, response => {
|
||||||
let data = response.data;
|
let data = response.data;
|
||||||
this.total = data.itemCount;
|
this.total = data.itemCount;
|
||||||
let tableData = data.listObject;
|
let tableData = data.listObject;
|
||||||
|
|
Loading…
Reference in New Issue