This commit is contained in:
Looly
2020-12-22 17:04:56 +08:00
parent 9701a9619c
commit 9a181facc2
2 changed files with 3 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ public class TreeUtil {
List<Tree<E>> finalTreeList = CollUtil.newArrayList();
for (Tree<E> node : treeList) {
if (parentId.equals(node.getParentId())) {
if (ObjectUtil.equals(parentId,node.getParentId())) {
finalTreeList.add(node);
innerBuild(treeList, node, 0, treeNodeConfig.getDeep());
}