Commit 60d9e01e authored by 梁光意's avatar 梁光意

修改查询分组树接口

parent 3c103baf
......@@ -227,6 +227,10 @@ public class InstrumentPanelTreeServiceImpl extends ServiceImpl<InstrumentPanelT
}
}
});
// 如果当前没有发布的仪表盘,仪表树就需要显示了
if(CollectionUtils.isEmpty(finalPanelIds)){
return Lists.newArrayList();
}
List<PanelTreeNodeVo> groupTreeNodeVos = groupService.selectGroupByIds(finalPanelIds,null);
if (CollectionUtils.isNotEmpty(groupTreeNodeVos)) {
lists.addAll(groupTreeNodeVos);
......
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