|
@@ -77,6 +77,12 @@ 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));
|
|
|
}
|