diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiDefinitionMapper.xml b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiDefinitionMapper.xml index 29b655fe5e..9765b718ae 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiDefinitionMapper.xml +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiDefinitionMapper.xml @@ -813,7 +813,9 @@ FROM api_definition WHERE api_definition.deleted = false AND api_definition.project_id = #{projectId} - AND api_definition.update_time BETWEEN #{startTime} AND #{endTime} order by api_definition.update_time desc + AND api_definition.update_time BETWEEN #{startTime} AND #{endTime} + AND api_definition.update_time > api_definition.create_time + order by api_definition.update_time desc