先看结果/效果:
初始化集合:[Type{id=1, parentId=0, childCount=null, children=null}, Type{id=2, parentId=0, childCount=null, children=null}, Type{id=3, parentId=0, childCount=null, children=null}, Type{id=1001, parentId=1, childCount=null, children=null}, Type{id=1002, parentId=1, childCount=null, children=null}, Type{id=20021, parentId=2002, childCount=null, children=null}, Type{id=2002, parentId=2, childCount=null, children=null}, Type{id=3001, parentId=3, childCount=null, children=null}, Type{id=4, parentId=0, childCount=null, children=null}, Type{id=1003, parentId=1, childCount=null, children=null}, Type{id=10031, parentId=1003, childCount=null, children=null}, Type{id=10032, parentId=1003, childCount=null, children=null}, Type{id=100321, parentId&#