Browse Source

Pull request #7387: REPORT-65090

Merge in DESIGN/design from ~FLY.LI/design:release/11.0 to release/11.0

* commit '4ca15c285c85a244e96f8c2b99aad350e20af6c0':
  REPORT-65090:将builder的形式换成普通的创建focusPoint的方式
bugfix/11.0
Fly.Li 3 years ago
parent
commit
13d2c6c2a7
  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