!177 当配置camelToUnderline属性时entity生成后编译错误的问题

Merge pull request !177 from Z.cg/main
This commit is contained in:
Michael Yang 2023-07-25 00:42:18 +00:00 committed by Gitee
commit 1b77bcc1f9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -245,7 +245,7 @@ public class Table {
tableAnnotation.append(", schema = \"").append(tableConfig.getSchema()).append("\"");
}
if (tableConfig.getCamelToUnderline() != null) {
tableAnnotation.append(", camelToUnderline = \"").append(tableConfig.getCamelToUnderline()).append("\"");
tableAnnotation.append(", camelToUnderline = ").append(tableConfig.getCamelToUnderline());
}
if (tableConfig.getInsertListenerClass() != null) {
tableAnnotation.append(", onInsert = ").append(tableConfig.getInsertListenerClass().getSimpleName()).append(".class");