Browse Source

Pull request #5824: REPORT-58984 服务器数据集兼容共享数据集final

Merge in DESIGN/design from ~RINOUX/design:final/11.0 to final/11.0

* commit 'b3685d482fbfef8bf003f74b327c0f6ca8436e94':
  REPORT-58984 服务器数据集兼容共享数据集final
fix-lag
rinoux 3 years ago
parent
commit
d62f9bb40c
  1. 10
      designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/DBTableDataPane.java

10
designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/DBTableDataPane.java

@ -647,10 +647,12 @@ public class DBTableDataPane extends AbstractTableDataPane<DBTableData> {
public StrategyConfig find() { public StrategyConfig find() {
StrategyConfig strategyConfig = null; StrategyConfig strategyConfig = null;
if (getTableData() != null) { if (getTableData() != null) {
try { strategyConfig = getTableData().getStrategyConfig();
strategyConfig = getTableData().getStrategyConfig() == null ? null : getTableData().getStrategyConfig().clone(); if (strategyConfig == null) {
} catch (CloneNotSupportedException e) { //共享数据集
FineLoggerFactory.getLogger().error(e.getMessage(), e); if (getTableData().isShare()) {
strategyConfig = StrategyConfigHelper.createStrategyConfig(true, false, true);
}
} }
} }

Loading…
Cancel
Save