Browse Source

REPORT-65090:将builder的形式换成普通的创建focusPoint的方式

bugfix/11.0
fly.li 3 years ago
parent
commit
4ca15c285c
  1. 8
      designer-realize/src/main/java/com/fr/design/actions/report/ReportEngineAttrAction.java

8
designer-realize/src/main/java/com/fr/design/actions/report/ReportEngineAttrAction.java

@ -74,12 +74,8 @@ public class ReportEngineAttrAction extends ReportComponentAction<WorkSheetDesig
body.put("totalPage", layerReportAttr.isPageQuery() ? 1 : 0);
body.put("pagesize", layerReportAttr.getCountPerPage());
body.put("totalNum", layerReportAttr.isEnableRowCount() ? 1 : 0);
FocusPoint focusPoint = FocusPoint.newBuilder()
.id(FOCUS_ID)
.source(Original.EMBED)
.text(getPath())
.body(body)
.build();
FocusPoint focusPoint = FocusPoint.create(FOCUS_ID, getPath(), Original.EMBED);
focusPoint.setBody(body.toString());
MetricRegistry.getMetric().submit(focusPoint);
}

Loading…
Cancel
Save