|
|
|
@ -268,11 +268,11 @@ public class GenBasicServiceImpl extends ServiceImpl<GenBasicMapper, GenBasic> i
|
|
|
|
|
DatabaseMetaData metaData = conn.getMetaData(); |
|
|
|
|
String url = metaData.getURL(); |
|
|
|
|
String schema = null; |
|
|
|
|
if (url.toLowerCase().contains("oracle")) { |
|
|
|
|
if (url.toLowerCase().contains("jdbc:oracle")) { |
|
|
|
|
schema = metaData.getUserName(); |
|
|
|
|
} |
|
|
|
|
List<GenBasicTableResult> tables = new ArrayList<>(); |
|
|
|
|
rs = metaData.getTables(null, schema, "%", new String[]{"TABLE", "VIEW"}); |
|
|
|
|
rs = metaData.getTables(null, schema, "%", new String[]{"TABLE"}); |
|
|
|
|
while (rs.next()) { |
|
|
|
|
String tableName = rs.getString("TABLE_NAME"); |
|
|
|
|
if (!StrUtil.startWithIgnoreCase(tableName, "ACT_")) { |
|
|
|
|