refactor(用例管理): 用例关联列表查询参数

This commit is contained in:
WangXu10 2024-01-29 20:04:21 +08:00 committed by 刘瑞斌
parent 85cf4dad20
commit 3c3f1ab5f7
2 changed files with 8 additions and 1 deletions

View File

@ -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}
)
</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>
<update id="recoverCase">

View File

@ -44,6 +44,7 @@ public class FunctionalCasePageRequest extends BasePageRequest implements Serial
@Schema(description = "评审id")
private String reviewId;
@Schema(description = "排除ids")
private List<String> excludeIds;
}