From 81b1b7421ac9ebc37c60a1cba715b4558878f8b7 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 18 Feb 2022 18:11:28 +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=AE=9A=E4=B9=89=E4=B8=AD?= =?UTF-8?q?=E5=9B=9E=E6=94=B6=E7=AB=99=E9=80=89=E4=B8=AD=E6=89=80=E6=9C=89?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=EF=BC=8C=E6=89=B9=E9=87=8F=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=8F=AA=E5=88=A0=E9=99=A410=E6=9D=A1=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1010407 --user=王孝刚 [接口定义]github#10726回收站选中所有数据,批量删除只删除10条数据 https://www.tapd.cn/55049933/s/1105966 --- .../java/io/metersphere/api/service/ApiDefinitionService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java b/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java index 2f8b366862..c0c5412d69 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java @@ -1321,6 +1321,8 @@ public class ApiDefinitionService { } public void deleteByParams(ApiBatchRequest request) { + ServiceUtils.getSelectAllIds(request, request.getCondition(), + (query) -> extApiDefinitionMapper.selectIds(query)); List ids = request.getIds(); if (CollectionUtils.isEmpty(ids)) { return;