fix(测试计划): 测试计划关联用例模块树数量问题
This commit is contained in:
parent
57e9e3f3a1
commit
793433c230
|
@ -665,6 +665,11 @@
|
||||||
select case_id from case_review_functional_case where review_id = #{request.reviewId}
|
select case_id from case_review_functional_case where review_id = #{request.reviewId}
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
|
<if test="request.testPlanId != null and request.testPlanId != ''">
|
||||||
|
AND functional_case.id not in (
|
||||||
|
select test_plan_functional_case.functional_case_id from test_plan_functional_case where test_plan_functional_case.test_plan_id = #{request.testPlanId}
|
||||||
|
)
|
||||||
|
</if>
|
||||||
<if test="request.excludeIds != null and request.excludeIds.size() > 0">
|
<if test="request.excludeIds != null and request.excludeIds.size() > 0">
|
||||||
AND functional_case.id not in
|
AND functional_case.id not in
|
||||||
<foreach collection="request.excludeIds" item="excludeId" separator="," open="(" close=")">
|
<foreach collection="request.excludeIds" item="excludeId" separator="," open="(" close=")">
|
||||||
|
|
Loading…
Reference in New Issue