Browse Source

REPORT-8879 修复Oracle数据库填报界面无法自动获取表字段问题

master
loy 7 years ago
parent
commit
33eb56409f
  1. 7
      designer-base/src/com/fr/design/data/datapane/ChoosePane.java

7
designer-base/src/com/fr/design/data/datapane/ChoosePane.java

@ -489,9 +489,12 @@ public class ChoosePane extends BasicBeanPane<DataBaseItems> implements Refresha
protected String getTableName() {
String tableName = "";
Object obj = this.tableNameComboBox.getSelectedItem();
Object obj = this.tableNameComboBox.getSelectedItemObject();
if (obj == null) {
obj = this.tableNameComboBox.getEditor().getItem();
obj = this.tableNameComboBox.getSelectedItem();
if (obj == null) {
obj = this.tableNameComboBox.getEditor().getItem();
}
}
if (obj instanceof TreePath) {
Object tp = ((ExpandMutableTreeNode) ((TreePath) obj).getLastPathComponent()).getUserObject();

Loading…
Cancel
Save