尝试2
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user