From 29a14baac2b7a4d20b023a904f2746987f84ccf2 Mon Sep 17 00:00:00 2001 From: Frank <1989048+Frank_HL@user.noreply.gitee.com> Date: Thu, 27 Jun 2024 17:20:53 +0000 Subject: [PATCH] =?UTF-8?q?update=20docs/zh/others/codegen.md.=20=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=20=E6=96=87=E6=A1=A3=20=E5=BF=AB=E9=80=9F=E5=BC=80?= =?UTF-8?q?=E5=A7=8B=20=E7=A4=BA=E4=BE=8B=E4=BB=A3=E7=A0=81=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E9=94=99=E8=AF=AF=E7=9A=84=E6=96=B9=E6=B3=95=E5=90=8D?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/zh/others/codegen.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zh/others/codegen.md b/docs/zh/others/codegen.md index 707868fe..3d8cddf9 100644 --- a/docs/zh/others/codegen.md +++ b/docs/zh/others/codegen.md @@ -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);