fix(接口定义): 修复接口列表批量删除问题 #1005040
This commit is contained in:
parent
f453226c3b
commit
76247d0f08
|
@ -870,6 +870,10 @@ public class ApiDefinitionService {
|
|||
}
|
||||
|
||||
public void removeToGcByParams(ApiBatchRequest request) {
|
||||
// 去除Name排序
|
||||
if (request.getCondition() != null && CollectionUtils.isNotEmpty(request.getCondition().getOrders())) {
|
||||
request.getCondition().getOrders().clear();
|
||||
}
|
||||
ServiceUtils.getSelectAllIds(request, request.getCondition(),
|
||||
(query) -> extApiDefinitionMapper.selectIds(query));
|
||||
extApiDefinitionMapper.removeToGc(request.getIds());
|
||||
|
|
Loading…
Reference in New Issue