fix: 导出ck数据时,不分页

This commit is contained in:
taojinlong 2024-11-01 16:44:40 +08:00
parent 66ac9e2369
commit 3c112d0935

View File

@ -1003,11 +1003,7 @@ public class CKQueryProvider extends QueryProvider {
}
public String getTotalCount(boolean isTable, String sql, Datasource ds) {
if (isTable) {
return "SELECT COUNT(*) from " + String.format(CKConstants.KEYWORD_TABLE, sql);
} else {
return "SELECT COUNT(*) from ( " + sqlFix(sql) + " ) DE_COUNT_TEMP";
}
return null;
}
@Override