Commit b9ee5b0f authored by 赵啸非's avatar 赵啸非

添加窗口大厅站点选项

parent af013c31
......@@ -177,9 +177,17 @@ public class AreaServiceImpl extends AbstractCRUDCacheServiceImpl<AreaDao, AreaE
// 如果是顶级节点, 遍历该父节点的所有子节点
if (!tempList.contains(areaEntity.getPid())) {
//recursionFn(list, areaEntity);
List<AreaTreeSelect> listTree = getListByRootId(areaEntity.getIid(), null);
AreaTreeSelect areaTreeSelect = new AreaTreeSelect(areaEntity);
areaTreeSelect.setChildren(listTree);
rebuildList(areaTreeSelect);
List<AreaTreeSelect> areaTreeSelectList = new ArrayList<>();
areaTreeSelectList.add(areaTreeSelect);
// List<AreaTreeSelect> listTree = getListByRootId(areaEntity.getIid(), null);
// AreaTreeSelect areaTreeSelect = new AreaTreeSelect(areaEntity);
areaTreeSelect.setChildren(areaTreeSelectList);
// areaEntity.setChildren();
returnList.add(areaTreeSelect);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment