diff --git a/core/core-backend/src/main/java/io/dataease/chart/manage/ChartDataManage.java b/core/core-backend/src/main/java/io/dataease/chart/manage/ChartDataManage.java index a8df862022..28dd66595c 100644 --- a/core/core-backend/src/main/java/io/dataease/chart/manage/ChartDataManage.java +++ b/core/core-backend/src/main/java/io/dataease/chart/manage/ChartDataManage.java @@ -174,7 +174,7 @@ public class ChartDataManage { Map mapAttr = view.getCustomAttr(); Map mapSize = (Map) mapAttr.get("basicStyle"); if (StringUtils.equalsIgnoreCase(view.getType(), "table-info") && table.getMode() == 0) { - if (StringUtils.equalsIgnoreCase((String) mapSize.get("tablePageMode"), "page") && !chartExtRequest.getExcelExportFlag()) { + if (StringUtils.equalsIgnoreCase((String) mapSize.get("tablePageMode"), "page") && !view.getIsExcelExport()) { if (chartExtRequest.getGoPage() == null) { chartExtRequest.setGoPage(1L); } @@ -190,7 +190,7 @@ public class ChartDataManage { if (StringUtils.equalsIgnoreCase(view.getResultMode(), "custom")) { chartExtRequest.setGoPage(1L); chartExtRequest.setPageSize(view.getResultCount().longValue()); - } else if (!chartExtRequest.getExcelExportFlag()) { + } else if (!view.getIsExcelExport()) { chartExtRequest.setGoPage(null); chartExtRequest.setPageSize(null); }