Browse Source

Pull request #14745: REPORT-133032 【fr-fbp回归】模板数据集-点击预览或展开数据集报错

Merge in DESIGN/design from ~DESTINY.LIN/design:fbp/release to fbp/release

* commit '2b5bec1fe47e60499a37d5022307f9dc47519aa3':
  REPORT-133032 【fr-fbp回归】模板数据集-点击预览或展开数据集报错
fbp/release
Destiny.Lin-林锦龙 3 months ago
parent
commit
5568cf5c9f
  1. 4
      designer-base/src/main/java/com/fr/design/data/DesignTableDataManager.java

4
designer-base/src/main/java/com/fr/design/data/DesignTableDataManager.java

@ -586,13 +586,13 @@ public abstract class DesignTableDataManager {
TableDataSource source = TableDataSourceTailor.extractTableData(tableDataSource);
bean.setDataSource(source);
bean.setDataName(DataOperator.getTableDataName(source, tabledata));
bean.setConvertMap(parameterMap);
bean.updateConvertMap(parameterMap);
if (checkBean(bean)) {
return (EmbeddedTableData) TableDataRepository.getInstance().previewTableData(bean).getTableData();
} else {
PreviewDataBean dataBean = new PreviewDataBean();
dataBean.setDataSource(tabledata);
dataBean.setConvertMap(parameterMap);
dataBean.updateConvertMap(parameterMap);
dataBean.setStart(rowCount);
dataBean.setEnd(-1);
return (EmbeddedTableData) TableDataRepository.getInstance().previewTableData(dataBean).getTableData();

Loading…
Cancel
Save