|
@@ -26,9 +26,8 @@ match (n)-[r:\u5C5E\u4E8E]->(m)-[r1:\u7EC4\u5408]->(k) \n \
|
|
|
where n.name= row \n \
|
|
|
return m.name as condition, count(distinct r)>=m.path as jundgement, labels(m)[0] as label,k.name as standName
|
|
|
|
|
|
-searchCollection1=with fildList as data \n \
|
|
|
-match (n)-[r:\u5C5E\u4E8E]->(m)-[r1:\u7EC4\u5408]->(k) \n \
|
|
|
-where n.name in data \n \
|
|
|
+searchCollection1=match (n)-[r:\u5C5E\u4E8E]->(m)-[r1:\u7EC4\u5408]->(k) \n \
|
|
|
+where n.name in fildList \n \
|
|
|
return m.name as condition, count(distinct r)>=m.path as jundgement, labels(m)[0] as label,k.name as standName
|
|
|
#\u67E5\u627E\u8FD1\u4E49\u8BCD\u7CBE\u534E\u7248
|
|
|
serchCollect=match (n)-[r:\u8BCA\u65AD\u4F9D\u636E|:\u8FD1\u4E49\u8BCD]->(e) where n.name in fildList return n.name as fild,collect(distinct type(r)) as typeCollect
|
|
@@ -41,12 +40,11 @@ match (n)-[r:\u8BCA\u65AD\u4F9D\u636E]->(m)\n \
|
|
|
where n.name= row\n \
|
|
|
return m.name as condition, count(distinct r)>=m.path as jundgement, labels(m)[0] as label
|
|
|
|
|
|
-searchCondition1=with newList as data\n \
|
|
|
-match (l)-[r:\u8BCA\u65AD\u4F9D\u636E]->(m)\n \
|
|
|
-where l.name in data\n \
|
|
|
-with m,fildList as data1\n \
|
|
|
+searchCondition1=match (l)-[r:\u8BCA\u65AD\u4F9D\u636E]->(m)\n \
|
|
|
+where l.name in newList\n \
|
|
|
+with m,fildList\n \
|
|
|
match (n)-[r:\u8BCA\u65AD\u4F9D\u636E]->(m)\n \
|
|
|
-where n.name in data1\n \
|
|
|
+where n.name in fildList\n \
|
|
|
return m.name as condition, count(distinct r)>=m.path as jundgement, labels(m)[0] as label
|
|
|
#\u67E5\u627E\u786E\u8BCA,\u62DF\u8BCA\u7684\u8BED\u53E5
|
|
|
searchQuezhen=match (n)-[r:\u786E\u8BCA|:\u62DF\u8BCA]->(m:Disease)\n \
|