图谱网状修改

master
1654135867@qq.com 2 years ago
parent ab9ae0c2d0
commit 631faabbb4
  1. 5
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/seknowgroup/controller/SeKnowGroupController.java

@ -206,12 +206,15 @@ public class SeKnowGroupController extends JeecgController<SeKnowGroup, ISeKnowG
nodelist.add(nodes1); nodelist.add(nodes1);
//开始第二层循环 //开始第二层循环
List<String> listid2 = seKnowGroupService.listid(listid.get(i)); List<String> listid2 = seKnowGroupService.listid(listid.get(i));
for (int j =0;j<listid2.size();j++ ){ for (int j =0;j<listid2.size();j++ ){
NodeName nodes2 = new NodeName(); NodeName nodes2 = new NodeName();
nodes2.setName(seKonwService.getById(listid.get(j)).getName()); nodes2.setName(seKonwService.getById(listid.get(j)).getName());
System.out.println(seKonwService.getById(listid.get(j)).getName()); nodelist.add(nodes2);
} }
} }
//现在开始组装知识图谱经管系节点 //现在开始组装知识图谱经管系节点
List<NodeList> nodelistdss = new ArrayList<>(); List<NodeList> nodelistdss = new ArrayList<>();
//首先根据中心知识点查询 //首先根据中心知识点查询

Loading…
Cancel
Save