@Service public class ApiGroupServiceImpl extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<ApiGroupDao,ApiGroupEntity> implements IApiGroupService
| 构造器和说明 |
|---|
ApiGroupServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<ApiGroupEntity> |
getDirectChildren(String id)
获取树的子节点
|
List<ApiGroupEntity> |
getTree(String name)
通过名称查找树,并返回树数据
|
void |
removeNodeById(String id)
删除树
|
ApiGroupEntity |
saveTree(ApiGroupEntity apiGroupEntity)
新增树
|
void |
transToTree(List<? extends TreeVo> voList) |
ApiGroupEntity |
updateTree(ApiGroupEntity apiGroupEntity)
修改树
|
closeSqlSession, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getMap, getObj, getOne, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, 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, updateByIdpublic List<ApiGroupEntity> getTree(String name)
IApiGroupServicegetTree 在接口中 IApiGroupServicepublic ApiGroupEntity saveTree(ApiGroupEntity apiGroupEntity)
IApiGroupServicesaveTree 在接口中 IApiGroupServicepublic ApiGroupEntity updateTree(ApiGroupEntity apiGroupEntity)
IApiGroupServiceupdateTree 在接口中 IApiGroupServicepublic void removeNodeById(String id)
IApiGroupServiceremoveNodeById 在接口中 IApiGroupServicepublic List<ApiGroupEntity> getDirectChildren(String id)
IApiGroupServicegetDirectChildren 在接口中 IApiGroupServiceCopyright © 2023. All rights reserved.