Browse Source

REPORT-55241:修改没有开启固定分页时固定分页的数值

feature/x
fly.li 3 years ago
parent
commit
b1d23b093d
  1. 2
      designer-realize/src/main/java/com/fr/design/actions/report/ReportEngineAttrAction.java

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

@ -72,7 +72,7 @@ public class ReportEngineAttrAction extends ReportComponentAction<WorkSheetDesig
private void submit(LayerReportAttr layerReportAttr){ private void submit(LayerReportAttr layerReportAttr){
JSONObject body = new JSONObject(); JSONObject body = new JSONObject();
body.put("totalPage", layerReportAttr.isPageQuery() ? 1 : 0); body.put("totalPage", layerReportAttr.isPageQuery() ? 1 : 0);
body.put("pagesize", layerReportAttr.isPageQuery() ? layerReportAttr.getCountPerPage() : 0); 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.newBuilder()
.id(FOCUS_ID) .id(FOCUS_ID)

Loading…
Cancel
Save