fix(接口测试): 修复接口定义中回收站选中所有数据,批量删除只删除10条数据的缺陷

--bug=1010407 --user=王孝刚 [接口定义]github#10726回收站选中所有数据,批量删除只删除10条数据
https://www.tapd.cn/55049933/s/1105966
This commit is contained in:
wxg0103 2022-02-18 18:11:28 +08:00 committed by 刘瑞斌
parent fb74d1e957
commit 81b1b7421a
1 changed files with 2 additions and 0 deletions

View File

@ -1321,6 +1321,8 @@ public class ApiDefinitionService {
}
public void deleteByParams(ApiBatchRequest request) {
ServiceUtils.getSelectAllIds(request, request.getCondition(),
(query) -> extApiDefinitionMapper.selectIds(query));
List<String> ids = request.getIds();
if (CollectionUtils.isEmpty(ids)) {
return;