|
|
|
@ -257,7 +257,7 @@ public class Neo4jServiceImpl implements Neo4jService {
|
|
|
|
|
public R<?> getNode(String picType, String caseId) {
|
|
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
|
|
List<WebRelDTO> list = new ArrayList<>();
|
|
|
|
|
List<Map<String, Object>> nodes = new ArrayList<>();
|
|
|
|
|
List<Map<String, String>> nodes = new ArrayList<>();
|
|
|
|
|
try {
|
|
|
|
|
Session session = driver.session();
|
|
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
|
|
@ -280,10 +280,10 @@ public class Neo4jServiceImpl implements Neo4jService {
|
|
|
|
|
Record record = node.next();
|
|
|
|
|
String name = record.get("name").asString();
|
|
|
|
|
long idLong = record.get("id").asLong();
|
|
|
|
|
Map<String, Object> nodeMap = new HashMap<>();
|
|
|
|
|
Map<String, String> nodeMap = new HashMap<>();
|
|
|
|
|
nodeMap.put("name", name);
|
|
|
|
|
nodeMap.put("entityName", name);
|
|
|
|
|
nodeMap.put("id", idLong);
|
|
|
|
|
nodeMap.put("id", String.valueOf(idLong));
|
|
|
|
|
nodes.add(nodeMap);
|
|
|
|
|
}
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|