Browse Source

Revert "apm系统图列表接口"

This reverts commit c66c848aeb2ae4e4a00326602fc6c18727eec325.
yucheng 2 years ago
parent
commit
609a7e710c

+ 0 - 6
adm-business/adm-diagram/src/main/java/com/persagy/adm/diagram/controller/DiagramController.java

@@ -77,12 +77,6 @@ public class DiagramController {
 
         List<Diagram> diagramList = dataStrategy.getDiagrams(null, projectId,
                 (String) diagram.get("systemId"), groupCode, null, false);
-        if (diagramList != null) { //TODO 批量处理会导致接口响应慢,优化为列表和内容拆分的方式
-            diagramList.forEach(d -> {
-                diagramManager.buildDiagram(d);
-                d.toAbsoluteLocation();
-            });
-        }
 
         return diagramManager.json4View(ResultHelper.multi(diagramList));
     }