|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | for (int i = 0; i < menuPool.size(); i++) { | 
|---|
|  |  |  | menuPool.get(i).setSort(i); | 
|---|
|  |  |  | menuPool.get(i).setUpdateUser(dto.getUpdateUser()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // 修改 | 
|---|
|  |  |  | systemMenuService.updateByIdInBatch(menuPool); | 
|---|
|  |  |  | 
|---|
|  |  |  | nodeVO.setIndex("menu_" + menu.getId()); | 
|---|
|  |  |  | nodeVO.setLabel(menu.getName()); | 
|---|
|  |  |  | nodeVO.setUrl(menu.getPath()); | 
|---|
|  |  |  | nodeVO.setParams(menu.getParams()); | 
|---|
|  |  |  | nodeVO.setIcon(menu.getIcon()); | 
|---|
|  |  |  | nodeVO.setChildren(new ArrayList<>()); | 
|---|
|  |  |  | rootNodes.add(nodeVO); | 
|---|
|  |  |  | 
|---|
|  |  |  | child.setId(menu.getId()); | 
|---|
|  |  |  | child.setLabel(menu.getName()); | 
|---|
|  |  |  | child.setUrl(menu.getPath()); | 
|---|
|  |  |  | child.setParams(menu.getParams()); | 
|---|
|  |  |  | child.setIcon(menu.getIcon()); | 
|---|
|  |  |  | child.setIndex("menu_" + menu.getId()); | 
|---|
|  |  |  | child.setChildren(new ArrayList<>()); | 
|---|