|
@@ -1091,7 +1091,7 @@ public class Neo4jAPI {
|
|
|
/**
|
|
|
* 指标推送
|
|
|
*/
|
|
|
- public Set<String> getInd(String[] keys) {
|
|
|
+ public Set<String> getInd(String[] keys,String sex,int age) {
|
|
|
//查找指标推送
|
|
|
Set<String> indSet = new HashSet<>();
|
|
|
List<String> newList = new ArrayList<>();
|
|
@@ -1130,7 +1130,7 @@ public class Neo4jAPI {
|
|
|
startList.add(condition);
|
|
|
}
|
|
|
}
|
|
|
- query = propertiesUtil.getProperty("searchIndication").replace("fildList", startList.toString());
|
|
|
+ query = propertiesUtil.getProperty("searchIndication").replace("fildList", startList.toString()).replace("age",String.valueOf(age)).replace("Sex",sex);
|
|
|
logger.info("查找可以推送的指标\n"+query);
|
|
|
result = session.run(query);
|
|
|
while (result.hasNext()) {
|