From 9ac29aed4357a0620ec7a1c6b1a831ad1f757d4f Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 20 Oct 2023 16:38:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8E=A5=E5=8F=A3=E5=88=97=E8=A1=A8=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=94=A8=E4=BE=8B=E7=8A=B6=E6=80=81=E7=9A=84?= =?UTF-8?q?=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 【【接口测试】github#27157,接口测试,接口定义列表,用例状态没有同步】https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001032207 --- .../mapper/ext/ExtApiDefinitionMapper.java | 2 ++ .../mapper/ext/ExtApiDefinitionMapper.xml | 15 ++++++++ .../definition/ApiDefinitionService.java | 36 +++++++++++++++++-- 3 files changed, 50 insertions(+), 3 deletions(-) diff --git a/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.java b/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.java index d86b1ca336..f4417457c5 100644 --- a/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.java +++ b/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.java @@ -24,6 +24,8 @@ public interface ExtApiDefinitionMapper { List countByApiIdAndStatusIsNotTrash(@Param("ids") List ids, @Param("projectId") String projectId); + List selectByIdsAndStatusIsNotTrash(@Param("ids") List ids, @Param("projectId") String projectId); + int removeToGcByExample(ApiDefinitionExampleWithOperation example); int reduction(@Param("ids") List ids); diff --git a/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml b/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml index a023ef07b1..1335e251e6 100644 --- a/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml +++ b/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionMapper.xml @@ -117,6 +117,21 @@ + +