|
@@ -1423,7 +1423,7 @@ public class Neo4jAPI {
|
|
|
List<JSONObject> sexList = null;
|
|
|
List<JSONObject> shiFouList = null;
|
|
|
JSONObject shiFouJson = null;
|
|
|
- Set<String> results = new HashSet<>();
|
|
|
+ Set<String> results = new LinkedHashSet<>();
|
|
|
query = "match(d:Indicators{name:'" + s + "'})-[r2:内容]->(n:Content) where r2.p=1 \n" +
|
|
|
"return r2.p as sort1 ,n.name as conten,null as sort2,null as item,null as controlType,null as state,null as value,null as uint,null as details\n" +
|
|
|
"union\n" +
|
|
@@ -1533,8 +1533,7 @@ public class Neo4jAPI {
|
|
|
medicalIndicationDetail3.setContent(shiFouJson);
|
|
|
}
|
|
|
}
|
|
|
- for (String re : results
|
|
|
- ) {
|
|
|
+ for (String re : results) {
|
|
|
JSONObject result1 = new JSONObject();
|
|
|
result1.put("name", re);
|
|
|
result1.put("text", "");
|