Browse Source

REPORT-138544 【fr-fbp冒烟】服务器数据集没有数据连接的权限,异常报错不符合预期

fbp/master
Destiny.Lin 4 weeks ago
parent
commit
5668d56e55
  1. 3
      designer-base/src/main/java/com/fr/design/data/datapane/preview/TableDataBeanHelper.java

3
designer-base/src/main/java/com/fr/design/data/datapane/preview/TableDataBeanHelper.java

@ -198,9 +198,8 @@ public class TableDataBeanHelper {
tableData.setPageQuerySql(DataEncryptionHelper.decrypt(bean.getPageQuery()));
}
Connection connection = connectionMap.get(bean.getDatabase());
if (connection != null) {
tableData.setDatabase(new NameDatabaseConnection(bean.getDatabase()));
} else {
if (connection == null) {
FineLoggerFactory.getLogger().info("not find conn by {}", bean.getDatabase());
}
String sql = SqlUtils.clearSqlComments(DataEncryptionHelper.decrypt(bean.getQuery()));

Loading…
Cancel
Save