!470 update docs/zh/others/codegen.md.

Merge pull request !470 from Frank/N/A
This commit is contained in:
Michael Yang 2024-06-27 23:47:02 +00:00 committed by Gitee
commit 5a6973209e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -79,7 +79,7 @@ public class Codegen {
globalConfig.setEntityGenerateEnable(true);
globalConfig.setEntityWithLombok(true);
//设置项目的JDK版本项目的JDK为14及以上时建议设置该项小于14则可以不设置
globalConfig.setJdkVersion(17);
globalConfig.setEntityJdkVersion(17);
//设置生成 mapper
globalConfig.setMapperGenerateEnable(true);