Zhaops hace 6 años
padre
commit
0986adc8ea
Se han modificado 1 ficheros con 0 adiciones y 21 borrados
  1. 0 21
      graph/src/main/java/org/diagbot/graph/jdbc/Neo4jAPI.java

+ 0 - 21
graph/src/main/java/org/diagbot/graph/jdbc/Neo4jAPI.java

@@ -1879,24 +1879,6 @@ public class Neo4jAPI {
                 score = rec.get("r4score").toString().replace("\"", "");
                 option = rec.get("n4name").toString().replace("\"", "");
 
-                //标题
-                //                List<Object> titles = new ArrayList<>();
-                //                JSONObject title = new JSONObject();
-                //                title.put("name", titleName);
-                //                title.put("column", "name");
-                //                titles.add(title);
-                //                title = new JSONObject();
-                //                title.put("name", "临床症状");
-                //                title.put("column", "detailName");
-                //                titles.add(title);
-                //                title = new JSONObject();
-                //                title.put("name", "得分");
-                //                title.put("column", "score");
-                //                titles.add(title);
-                //                JSONObject titleJson = new JSONObject();
-                //                titleJson.put("columns", titles);
-                //                titleJson.put("isShow", 0);
-
                 //分组计算结果
                 JSONObject groupCalcJson = new JSONObject();
                 JSONObject groupCalcResult = new JSONObject();
@@ -1996,7 +1978,6 @@ public class Neo4jAPI {
                                 }
                                 details.add(rowDetail);
                                 row.put("details", details);
-                                //row.put("indexId", Integer.valueOf(indexId));
                             }
                             rowsList.remove(j);
                             rowJson.put("row", rowList);
@@ -2031,7 +2012,6 @@ public class Neo4jAPI {
                             } else {
                                 rowDetail.put("state", 0);
                             }
-                            //                        rowDetail.put("state", 0);
                             JSONArray details = new JSONArray();
                             details.add(rowDetail);
                             row.put("details", details);
@@ -2076,7 +2056,6 @@ public class Neo4jAPI {
                         } else {
                             rowDetail.put("state", 0);
                         }
-                        //                        rowDetail.put("state", 0);
                         JSONArray details = new JSONArray();
                         details.add(rowDetail);
                         row.put("details", details);