提交 091ed13e 作者: obcy

【添加图谱查询功能】

上级 4fc932b9
......@@ -38,7 +38,7 @@ public class AtlasService {
return Result.OK(nodeAndLink);
}
public Result<?> getAtlasBysubjectId(String subjectId) {
GraphInfo nodeAndLink = neo4jUtil.getNodeAndLink("MATCH p=(n)-->(m) RETURN p,n,m LIMIT 200","lgRAGSJ"+subjectId);
GraphInfo nodeAndLink = neo4jUtil.getNodeAndLink("MATCH p=(n)-->(m) RETURN p,n,m LIMIT 200","lgragsj"+subjectId);
return Result.OK(nodeAndLink);
}
......@@ -49,7 +49,7 @@ public class AtlasService {
"m.entity_id =~ '.*"+name+".*' OR " +
"TYPE(r) =~ '.*"+name+".*' " +
"RETURN r, n, m LIMIT 200"
,"lgRAGSJ"+subjectId);
,"lgragsj"+subjectId);
return Result.OK(nodeAndLink);
}
public Result<?> getAtlasBysubjectIdAndNamePath(String subjectId, String name) {
......@@ -60,7 +60,7 @@ public class AtlasService {
" OR TYPE(r) =~ '.*"+name+".*' " +
"RETURN p, n, m " +
"LIMIT 200"
,"lgRAGSJ"+subjectId);
,"lgragsj"+subjectId);
return Result.OK(nodeAndLink);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论