fix: 数据库status为空的接口用例删不掉

This commit is contained in:
chenjianxing 2021-12-28 18:46:14 +08:00 committed by BugKing
parent 47c946d767
commit 51284c3f94
1 changed files with 1 additions and 1 deletions

View File

@ -739,7 +739,7 @@
update api_test_case
set original_status=status,
status = 'Trash',delete_time = #{deleteTime},delete_user_id = #{deleteUserId}
where status != 'Trash' AND id IN
where id IN
<foreach collection="ids" item="v" separator="," open="(" close=")">
#{v}
</foreach>