cypher="match (n:Neo4jTable) "+condition+"where not ((n)-[:`流向`]-()) return n order by n.name SKIP "+start+" LIMIT "+end+" ";
cypher="match (n:Neo4jTable) "+condition+"where not ((n)-[:`流向`]-()) and n.name=~'.*"+keyWord+".*' return n order by n.name SKIP "+start+" LIMIT "+end+" ";
cypher="match (n:Neo4jTable) "+condition+"where not ((n)-[:`流向`]-()) return n order by n.name SKIP "+start+" LIMIT "+end+" ";
cypher="match (n:Neo4jTable) "+condition+"where not ((n)-[:`流向`]-()) and n.name=~'.*"+keyWord+".*' return n order by n.name SKIP "+start+" LIMIT "+end+" ";
}elseif(parentId!=null){
cypher="match (n:Neo4jTable{isEnvironment:\""+parentId+"\"}) where not ((n)-[:`流向`]-()) return n order by n.name SKIP "+start+" LIMIT "+end+" ";
cypher="match (n:Neo4jTable{isEnvironment:\""+parentId+"\"}) where not ((n)-[:`流向`]-()) and n.name=~'.*"+keyWord+".*' return n order by n.name SKIP "+start+" LIMIT "+end+" ";
}
intcount=0;
logger.info("查找孤立表的语句:"+cypher);
...
...
@@ -73,17 +72,17 @@ public class DataRelationAnalyServiceImpl implements DataRelationAnalyService {