30 Commits

Author SHA1 Message Date
Suomm
1081811199 fix: 应该保留 entityClassElement 用于先查找 getter 方法。 2023-07-02 21:35:12 +08:00
Suomm
92140ad178 fix: 别名注解放到 getter 方法上不生效。 2023-07-02 21:20:47 +08:00
Suomm
4939013da6 fix: 判断 getter 方法不正确问题。 2023-07-02 21:16:08 +08:00
开源海哥
5f14bd96a7 rename @As to @ColumnAlias and optimize TableInfo.doBuildResultMap 2023-07-02 16:28:54 +08:00
开源海哥
462fa3b2bb 重构 apt 配置属性
processor.allInTables ---> processor.allInTables.enable
processor.tablesPackage ---> processor.allInTables.package
processor.tablesClassName ----> processor.allInTables.className
processor.mappersGenerateEnable ----> processor.mapper.generateEnable
processor.baseMapperClass ---> processor.mapper.baseClass
processor.mappersPackage ---> processor.mapper.package
processor.tablesNameStyle ---> processor.tableDef.propertiesNameStyle
processor.tablesDefSuffix ---> processor.tableDef.instanceSuffix
processor.entity.ignoreSuffixes ---> processor.tableDef.ignoreEntitySuffixes
2023-07-02 12:02:37 +08:00
开源海哥
efcc9dbf1a optimize: 1、@As 支持多个配置;2、@As 从 setter 方法移动到 getter 方法。 2023-07-02 09:23:18 +08:00
Suomm
75b713d5fe fix: 重写 setter 上没有 @As 注解,需要向父类 setter 去寻找,所以只找到一个 setter 不能清除属性。 2023-07-01 23:23:23 +08:00
Suomm
a14911b678 feat: 生成的辅助类支持 @As 注解。 2023-07-01 22:53:55 +08:00
Suomm
2873c6a2bc feat: 添加 ColumnInfo 实体类封装列信息。 2023-07-01 22:53:12 +08:00
开源海哥
8881e380a6 优化 apt 功能 2023-06-24 14:21:17 +08:00
开源海哥
50fd0fff80 重构 apt 功能,其配置从 mybatis-flex.properties 移动到根目录的 apt.config; close #I7FHYB 2023-06-24 12:45:59 +08:00
XiaoLin
abb6f6d9a7 feat: mybatis-flex-processor 读取 mybatis-flex.properties 添加兜底策略 2023-06-23 22:16:26 +08:00
Suomm
7f9ffa15aa refactor: 使用新的 APT 生成器。 2023-06-23 16:01:54 +08:00
Suomm
2bec075dd3 style: 添加包注释。 2023-06-23 16:00:27 +08:00
Suomm
1c1b07a3f5 refactor: 重构 APT 生成器。 2023-06-23 16:00:08 +08:00
Suomm
f177459ad2 refactor: 使用 StringBuilder 代替字符串替换。 2023-06-23 15:59:38 +08:00
Suomm
3f786baf6c refactor: 提取工具类。 2023-06-23 15:59:14 +08:00
Suomm
dc36280e8d refactor: 重构 APT 配置读取类。 2023-06-23 15:58:54 +08:00
Suomm
87658a3e4d refactor: 提取 APT 配置及其默认值。 2023-06-23 15:58:25 +08:00
Suomm
5407a3384e fix: 如果实体类在多个包,自动生成辅助类仍在一个包。 2023-06-16 18:32:27 +08:00
开源海哥
dc39e6083b feat: add apt config "processor.tablesDefSuffix" close #I76Y46 #I78GMC #43 2023-06-08 11:41:00 +08:00
开源海哥
832c161cfb feat: add schema support; close #I6VD6U 2023-05-30 13:09:22 +08:00
开源海哥
3eae0c6bea remove @selfDef 2023-05-25 11:10:05 +08:00
开源海哥
f64ff59aab fixed: 修复 Table.camelToUnderline 在 apt 上配置不生效的问题 2023-05-25 10:00:28 +08:00
开源海哥
12a4efd121 feat: apt 默认生成独立文件,之前所有 apt 生成在同一个文件修改为可配置。 2023-05-24 13:25:26 +08:00
开源海哥
355c9d70d8 add Byte.class columns support and close #I76GNW 2023-05-23 09:04:30 +08:00
开源海哥
4ccef7a90a optimize all_columns field in apt 2023-05-21 18:16:37 +08:00
XiaoLin
f1e3f8df22 feat: processor 读取 mybatis-flex.properties 文件添加使用 ClassLoader 读取 2023-05-17 01:00:10 +08:00
开源海哥
61eb072a14 close #I6ZPD1 2023-04-28 19:49:57 +08:00
snow
12260fce53 feat: 拆分APT模块, 优化APT配置说明 2023-04-27 14:04:15 +08:00