@Service public class ConTreeNodeServiceImpl extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<ConTreeNodeMapperX,ConTreeNodeDO> implements IConTreeNodeService
树节点数据 服务实现类
| Constructor and Description |
|---|
ConTreeNodeServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValidNode(String treeCode,
Integer nodeId)
判断节点是否合法
|
List<ConTreeNodeDO> |
listNodes(String treeCode,
Integer rootNodeId,
String nodeName,
boolean recursion)
获取rootNodeId的子节点
|
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 boolean isValidNode(String treeCode, Integer nodeId)
isValidNode in interface IConTreeNodeServicetreeCode - 树编码nodeId - 节点idpublic List<ConTreeNodeDO> listNodes(String treeCode, Integer rootNodeId, String nodeName, boolean recursion)
listNodes in interface IConTreeNodeServicetreeCode - 树编码rootNodeId - 父节点nodeName - 节点名称recursion - 是否递归查找Copyright © 2020. All rights reserved.