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

This commit is contained in:
chenjianxing 2021-12-28 18:46:14 +08:00 committed by jianxing
parent f873556025
commit 0ceee1430c
1 changed files with 1 additions and 1 deletions

View File

@ -729,7 +729,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>