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

+1 -1
View File
@@ -52,7 +52,7 @@
<cloud.plugin.version>1.0.0</cloud.plugin.version>
<sentinel.version>1.8.4</sentinel.version>
<sensitive.word.version>0.17.0</sensitive.word.version>
<anyline.version>8.7.2-20240808</anyline.version>
<anyline.version>8.7.2-20250109</anyline.version>
<sms4j.version>3.2.1</sms4j.version>
<javax.mail.version>1.6.2</javax.mail.version>
<velocity.version>2.3</velocity.version>
@@ -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());