do not remove the first node(#339) (#355)

Do not remove the first node
This commit is contained in:
leitao 2018-12-29 14:29:17 +08:00 committed by Carpenter Lee
parent 44409182ae
commit feb44e74d4
1 changed files with 0 additions and 5 deletions

View File

@ -52,12 +52,7 @@ public class ResourceVo {
return null;
}
List<ResourceVo> list = new ArrayList<>();
boolean isFirst = true;
for (NodeVo nodeVo : nodeVos) {
if (isFirst) {
isFirst = false;
continue;
}
ResourceVo vo = new ResourceVo();
vo.parentTtId = nodeVo.getParentId();
vo.ttId = nodeVo.getId();