Merge pull request #7995 from dataease/pr@dev@feat_page

feat: 定时同步和Excel支持分页
This commit is contained in:
Junjun 2024-02-05 11:24:59 +08:00 committed by GitHub
commit 87e155d8bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -723,7 +723,7 @@ public class ChartViewService {
// 直连明细表分页
Map<String, Object> mapAttr = gson.fromJson(view.getCustomAttr(), Map.class);
Map<String, Object> mapSize = (Map<String, Object>) mapAttr.get("size");
if (StringUtils.equalsIgnoreCase(view.getType(), "table-info") && table.getMode() == 0) {
if (StringUtils.equalsIgnoreCase(view.getType(), "table-info")) {
if (StringUtils.equalsIgnoreCase((String) mapSize.get("tablePageMode"), "page") && !chartExtRequest.getExcelExportFlag()) {
if (chartExtRequest.getGoPage() == null) {
chartExtRequest.setGoPage(1L);