fix(接口测试): 修复接口定义中回收站选中所有数据,批量删除只删除10条数据的缺陷
--bug=1010407 --user=王孝刚 [接口定义]github#10726回收站选中所有数据,批量删除只删除10条数据 https://www.tapd.cn/55049933/s/1105966
This commit is contained in:
parent
fb74d1e957
commit
81b1b7421a
|
@ -1321,6 +1321,8 @@ public class ApiDefinitionService {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void deleteByParams(ApiBatchRequest request) {
|
public void deleteByParams(ApiBatchRequest request) {
|
||||||
|
ServiceUtils.getSelectAllIds(request, request.getCondition(),
|
||||||
|
(query) -> extApiDefinitionMapper.selectIds(query));
|
||||||
List<String> ids = request.getIds();
|
List<String> ids = request.getIds();
|
||||||
if (CollectionUtils.isEmpty(ids)) {
|
if (CollectionUtils.isEmpty(ids)) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue