Browse Source

指标推送bug修改,性别过滤没有把3参与进来

kongwz 5 years ago
parent
commit
092cf77b0b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      graph/src/main/resources/bolt.properties

+ 1 - 1
graph/src/main/resources/bolt.properties

@@ -90,7 +90,7 @@ searchEmergency=match(d:Disease) where d.name in disList return d.name as emDis,
 searchIndication=match (n:Condition)-[r:\u786E\u8BCA|:\u62DF\u8BCA]->(m:Indicators)\n \
 searchIndication=match (n:Condition)-[r:\u786E\u8BCA|:\u62DF\u8BCA]->(m:Indicators)\n \
 where n.name in fildList\n \
 where n.name in fildList\n \
 with distinct m,r\n \
 with distinct m,r\n \
-match(i:Indicators) WHERE i.name=m.name and age>i.minAge and age<i.maxAge and Sex=i.sex\n \
+match(i:Indicators) WHERE i.name=m.name and age>i.minAge and age<i.maxAge and i.sex in [Sex,3]\n \
 return i.name as name
 return i.name as name
 
 
 #\u67E5\u627E\u4E0D\u826F\u53CD\u5E94\u7684\u8BED\u53E5
 #\u67E5\u627E\u4E0D\u826F\u53CD\u5E94\u7684\u8BED\u53E5