fix(service): update database type retrieval in GenTableServiceImpl

This commit is contained in:
冷冷 committed 2025-03-09 20:56:17 +08:00
1 parent 01aaadab76
commit fcb8003f21
2 files changed
+2 -2

No files matched your search

@@ -210,7 +210,7 @@ public class GenTableServiceImpl extends ServiceImpl<GenTableMapper, GenTable> i
table.setDsName(dsName);
table.setTableComment(tableMetadata.getComment());
table.setDbType(database.getDatabase().title());
table.setDbType(database.getDatabaseType().title());
table.setFormLayout(defaultProperties.getFormLayout());
table.setSyncRoute(defaultProperties.getSyncRoute());
table.setGeneratorType(defaultProperties.getGeneratorType());