Browse Source

症状、体征推送疾病添加典型标识

kongwz 4 years ago
parent
commit
6736cda5e8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/diagbot/repository/SymptomNameRepository.java

+ 2 - 2
src/main/java/com/diagbot/repository/SymptomNameRepository.java

@@ -16,8 +16,8 @@ public interface SymptomNameRepository extends Neo4jRepository<Symptom, Long> {
 
     List<Symptom> findByNameContaining(String name);
 
-//    @Query("match(d:医保疾病名称)-[r{典型:1}]->(s) where any(label in labels(s) WHERE label in ['症状', '体征']) and s.name in {py} return d.name")
-    @Query("match(d:医保疾病名称)-[r]->(s) where any(label in labels(s) WHERE label in ['症状', '体征']) and s.name in {py} return d.name")
+    @Query("match(d:医保疾病名称)-[r{典型:1}]->(s) where any(label in labels(s) WHERE label in ['症状', '体征']) and s.name in {py} return d.name")
+//    @Query("match(d:医保疾病名称)-[r]->(s) where any(label in labels(s) WHERE label in ['症状', '体征']) and s.name in {py} return d.name")
     List<String> getDisBySymptoms(@Param("py")List<String> symptoms);
 }