feat: 代码生成默认包名
This commit is contained in:
1 parent
67ceb660cb
commit
e5f46f63cc
1 file changed
+3
@@ -100,6 +100,9 @@ public class GeneratorServiceImpl implements GeneratorService {
|
||||
String entityName = StrUtil.toCamelCase(StrUtil.removePrefix(tableName, tableName.split("_")[0]));
|
||||
genConfig.setEntityName(entityName);
|
||||
|
||||
String packageName = SystemApplication.class.getPackageName();
|
||||
genConfig.setPackageName(packageName);
|
||||
|
||||
genConfig.setAuthor(generatorProperties.getDefaultConfig().getAuthor());
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user