|
@@ -31,7 +31,7 @@ public interface BaseNodeRepository extends Neo4jRepository<BaseNode, Long> {
|
|
|
" RETURN DISTINCT(m.name)+'::'+c.name")
|
|
|
List<String> getMedJiePouClass();
|
|
|
|
|
|
- @Query("match(s:症状) return distinct s.name")
|
|
|
+ @Query("match(s) where any(label in labels(s) where label in ['症状','体征']) return distinct s.name")
|
|
|
List<String> getSymptomClass();
|
|
|
|
|
|
@Query("match(d:医保疾病名称)-[r:医保疾病名称相关性别]->(h) return DISTINCT d.name+'&'+h.name")
|