refactor(用例管理): 用例关联列表查询参数
This commit is contained in:
parent
85cf4dad20
commit
3c3f1ab5f7
|
@ -134,6 +134,12 @@
|
||||||
select case_review_functional_case.case_id from case_review_functional_case where case_review_functional_case.review_id = #{request.reviewId}
|
select case_review_functional_case.case_id from case_review_functional_case where case_review_functional_case.review_id = #{request.reviewId}
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
|
<if test="request.excludeIds != null and request.excludeIds.size() > 0">
|
||||||
|
AND functional_case.id not in
|
||||||
|
<foreach collection="request.excludeIds" item="excludeId" separator="," open="(" close=")">
|
||||||
|
#{excludeId}
|
||||||
|
</foreach>
|
||||||
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<update id="recoverCase">
|
<update id="recoverCase">
|
||||||
|
|
|
@ -44,6 +44,7 @@ public class FunctionalCasePageRequest extends BasePageRequest implements Serial
|
||||||
@Schema(description = "评审id")
|
@Schema(description = "评审id")
|
||||||
private String reviewId;
|
private String reviewId;
|
||||||
|
|
||||||
|
@Schema(description = "排除ids")
|
||||||
|
private List<String> excludeIds;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue