public interface IApiGroupService extends com.baomidou.mybatisplus.extension.service.IService<ApiGroupEntity>
| 限定符和类型 | 方法和说明 |
|---|---|
List<ApiGroupEntity> |
getDirectChildren(String id)
获取树的子节点
|
List<ApiGroupEntity> |
getTree(String name)
通过名称查找树,并返回树数据
|
void |
removeNodeById(String id)
删除树
|
ApiGroupEntity |
saveTree(ApiGroupEntity apiGroupEntity)
新增树
|
ApiGroupEntity |
updateTree(ApiGroupEntity apiGroupEntity)
修改树
|
count, count, getBaseMapper, getById, getMap, getObj, getOne, getOne, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateByIdList<ApiGroupEntity> getTree(String name)
name - ApiGroupEntity saveTree(ApiGroupEntity apiGroupEntity)
apiGroupEntity - ApiGroupEntity updateTree(ApiGroupEntity apiGroupEntity)
apiGroupEntity - void removeNodeById(String id)
id - List<ApiGroupEntity> getDirectChildren(String id)
id - Copyright © 2023. All rights reserved.