Merge pull request #4617 from dataease/pr@dev@fix_table-export

fix(视图): 修复部分表格全量导出时报错问题
This commit is contained in:
王嘉豪 2023-02-23 17:50:35 +08:00 committed by GitHub
commit 497b454d11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -671,7 +671,7 @@ public class ChartViewService {
if (StringUtils.equalsIgnoreCase(view.getResultMode(), "custom")) {
chartExtRequest.setGoPage(1L);
chartExtRequest.setPageSize(view.getResultCount().longValue());
} else {
} else if (!chartExtRequest.getExcelExportFlag()) {
chartExtRequest.setGoPage(null);
chartExtRequest.setPageSize(null);
}