diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml index 5a5326d854..972c50e4b2 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml @@ -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 #{v}