Browse Source

Pull request #14814: REPORT-134411 DataOperatorProvider接口适配Connection 优化部分写法

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

* commit '53f85f73740d1303f4fc873559c500b730ee0fa0':
  REPORT-134411 DataOperatorProvider接口适配Connection 优化部分写法
fbp/merge
Destiny.Lin-林锦龙 5 months ago
parent
commit
25fe0322c9
  1. 2
      designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/ProcedureDataPane.java

2
designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/ProcedureDataPane.java

@ -192,7 +192,7 @@ public class ProcedureDataPane extends AbstractTableDataPane<StoreProcedure> imp
if (StringUtils.isEmpty(name)) { if (StringUtils.isEmpty(name)) {
return false; return false;
} }
Connection connection = ConnectionInfoBeanHelper.createConnection(ConnectionRepository.getInstance().getByName(connectionTableProcedurePane.getSelectedDatabaseConnnectonName())); Connection connection = ConnectionInfoBeanHelper.createConnection(ConnectionRepository.getInstance().getByName(name));
return connection != null && ArrayUtils.contains(DRIVERS, connection.getDriver()); return connection != null && ArrayUtils.contains(DRIVERS, connection.getDriver());
} }

Loading…
Cancel
Save