|
|
|
@ -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 { |
|
|
|
|
tableData.setDatabase(new NameDatabaseConnection(bean.getDatabase())); |
|
|
|
|
if (connection == null) { |
|
|
|
|
FineLoggerFactory.getLogger().info("not find conn by {}", bean.getDatabase()); |
|
|
|
|
} |
|
|
|
|
String sql = SqlUtils.clearSqlComments(DataEncryptionHelper.decrypt(bean.getQuery())); |
|
|
|
|