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

This commit is contained in:
chenjianxing 2021-12-28 18:46:14 +08:00 committed by BugKing
parent 1569f44806
commit 8abbaa756f
1 changed files with 1 additions and 1 deletions

View File

@ -745,7 +745,7 @@
update api_test_case update api_test_case
set original_status=status, set original_status=status,
status = 'Trash',delete_time = #{deleteTime},delete_user_id = #{deleteUserId} 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=")"> <foreach collection="ids" item="v" separator="," open="(" close=")">
#{v} #{v}
</foreach> </foreach>