mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 12:52:07 +08:00
报表模板数据集导出内容错误处理
This commit is contained in:
+1
-1
@@ -465,7 +465,7 @@ public class ReportTemplateServiceImpl implements ReportTemplateService {
|
||||
Set<Long> datasourceIds = reportTemplateDO.getDatasourceIds();
|
||||
exportObj.put(DATASOURCEIDS_FIELD_NAME, CollUtil.isNotEmpty(datasourceIds) ? datasourceIds : Set.of());
|
||||
Set<Long> datasetIds = reportTemplateDO.getDatasetIds();
|
||||
exportObj.put(DATASETIDS_FIELD_NAME, CollUtil.isNotEmpty(datasetIds) ? datasourceIds : Set.of());
|
||||
exportObj.put(DATASETIDS_FIELD_NAME, CollUtil.isNotEmpty(datasetIds) ? datasetIds : Set.of());
|
||||
|
||||
// 设置响应的内容类型为 application/json
|
||||
response.setContentType(ContentType.JSON.getValue());
|
||||
|
||||
Reference in New Issue
Block a user