From 46b2bceaf7d4fba9f9ed64cd6ea08c04e6632661 Mon Sep 17 00:00:00 2001 From: plough Date: Mon, 6 Nov 2017 09:49:52 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-5308=20=E4=BB=A3=E7=A0=81=E8=A7=84?= =?UTF-8?q?=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/com/fr/design/data/datapane/TableDataTreePane.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/designer_base/src/com/fr/design/data/datapane/TableDataTreePane.java b/designer_base/src/com/fr/design/data/datapane/TableDataTreePane.java index 49ad0f2654..d3277bd19a 100644 --- a/designer_base/src/com/fr/design/data/datapane/TableDataTreePane.java +++ b/designer_base/src/com/fr/design/data/datapane/TableDataTreePane.java @@ -3,7 +3,7 @@ package com.fr.design.data.datapane; import com.fr.base.BaseUtils; import com.fr.base.TableData; import com.fr.data.TableDataSource; -import com.fr.data.impl.ConditionTableData; +import com.fr.data.impl.TableDataSourceDependent; import com.fr.design.DesignModelAdapter; import com.fr.design.ExtraDesignClassManager; import com.fr.design.actions.UpdateAction; @@ -205,8 +205,8 @@ public class TableDataTreePane extends BasicTableDataTreePane { tc.renameTableData(oldName, nPanel.getObjectName(), false); TableDataSource tds = tc.getBook(); TableData td = uPanel.updateBean(); - if (td instanceof ConditionTableData) { - ((ConditionTableData) td).setTableDataSource(tds); + if (td instanceof TableDataSourceDependent) { + ((TableDataSourceDependent) td).setTableDataSource(tds); } String tdName = nPanel.getObjectName(); tds.putTableData(tdName, td);