From 3d523c998985022934eec1e3e06b4d4eee198983 Mon Sep 17 00:00:00 2001 From: lhzsdnu <2383376138@qq.com> Date: Thu, 13 Apr 2023 13:29:51 +0000 Subject: [PATCH 1/2] update docs/zh/codegen.md. Signed-off-by: lhzsdnu <2383376138@qq.com> --- docs/zh/codegen.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/zh/codegen.md b/docs/zh/codegen.md index 1ca6f860..dea38893 100644 --- a/docs/zh/codegen.md +++ b/docs/zh/codegen.md @@ -98,10 +98,10 @@ public class GlobalConfig { //entity 的包名 private String entityPackage; - //mapper 类的前缀 + //entity 类的前缀 private String entityClassPrefix = ""; - //mapper 类的后缀 + //entity 类的后缀 private String entityClassSuffix = ""; //entity 是否使用 Lombok From 24d50c3a923e4eed3c14f7d5f6eeb38a3239df8f Mon Sep 17 00:00:00 2001 From: lhzsdnu <2383376138@qq.com> Date: Thu, 13 Apr 2023 13:30:45 +0000 Subject: [PATCH 2/2] update mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/config/GlobalConfig.java. Signed-off-by: lhzsdnu <2383376138@qq.com> --- .../java/com/mybatisflex/codegen/config/GlobalConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/config/GlobalConfig.java b/mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/config/GlobalConfig.java index e385a791..6df40a20 100644 --- a/mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/config/GlobalConfig.java +++ b/mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/config/GlobalConfig.java @@ -32,10 +32,10 @@ public class GlobalConfig { //entity 的包名 private String entityPackage; - //mapper 类的前缀 + //entity 类的前缀 private String entityClassPrefix; - //mapper 类的后缀 + //entity 类的后缀 private String entityClassSuffix; //entity 是否使用 Lombok