SQLExprTableSource improved

This commit is contained in:
高铁
2020-11-08 11:42:12 +08:00
parent 44452ff6a8
commit 1b32e91d2b
@@ -87,6 +87,14 @@ public class SQLExprTableSource extends SQLTableSourceImpl implements SQLReplace
return null;
}
public String getTableName(boolean normalize) {
String tableName = getTableName();
if (normalize) {
return SQLUtils.normalize(tableName);
}
return tableName;
}
public String getTableName() {
if (expr == null) {
return null;