This commit is contained in:
2025-12-20 17:10:10 +08:00
parent ea8321f1f6
commit 5024fa3e24

View File

@@ -35,7 +35,8 @@ public class CodeGen {
// String packageName = "system";
// String packageName = "account";
// String packageName = "product";
String packageName = "market";
// String packageName = "market";
String packageName = "order";
// tableName 指定需要生成的表
String tableName = "pp_package_order";
String author = "gyj";
@@ -188,6 +189,7 @@ public class CodeGen {
.setClassSuffix("Service")
.setSuperClass(IService.class);
globalConfig.enableService();
globalConfig.setServiceTemplatePath("templates/service.tpl");
//设置表前缀和只生成哪些表setGenerateTable 未配置时,生成所有表
globalConfig.getStrategyConfig()