|
|
@ -329,7 +329,7 @@ public class GenBasicServiceImpl extends ServiceImpl<GenBasicMapper, GenBasic> i |
|
|
|
} |
|
|
|
} |
|
|
|
List<GenBasicTableColumnResult> columns = new ArrayList<>(); |
|
|
|
List<GenBasicTableColumnResult> columns = new ArrayList<>(); |
|
|
|
rs = metaData.getColumns(null, schema, genBasicTableColumnParam.getTableName(), "%"); |
|
|
|
rs = metaData.getColumns(null, schema, genBasicTableColumnParam.getTableName(), "%"); |
|
|
|
if(!rs.next()) { |
|
|
|
if(!rs.isBeforeFirst()) { |
|
|
|
rs = metaData.getColumns(null, schema, genBasicTableColumnParam.getTableName().toLowerCase(), "%"); |
|
|
|
rs = metaData.getColumns(null, schema, genBasicTableColumnParam.getTableName().toLowerCase(), "%"); |
|
|
|
} |
|
|
|
} |
|
|
|
while (rs.next()) { |
|
|
|
while (rs.next()) { |
|
|
|