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