diff --git a/docs/zh/others/codegen.md b/docs/zh/others/codegen.md index 7130dbf9..4dbdbb52 100644 --- a/docs/zh/others/codegen.md +++ b/docs/zh/others/codegen.md @@ -90,7 +90,7 @@ public class Codegen { globalConfig.getPackageConfig() .setBasePackage("com.test"); - //设置表前缀和只生成哪些表 + //设置表前缀和只生成哪些表,setGenerateTable 未配置时,生成所有表 globalConfig.getStrategyConfig() .setTablePrefix("tb_") .setGenerateTable("account", "account_session"); @@ -253,6 +253,8 @@ globalConfig.getStrategyConfig() .setGenerateTables("sys_user","sys_dept"); ``` +> `setGenerateTables` 和 `setUnGenerateTables` 未配置时,生成所有表。 + ## 模板配置 `TemplateConfig` | 配置 | 描述 | 默认值 |