193 Commits

Author SHA1 Message Date
michael
944e04eeac test: optimize tests 2023-12-15 12:33:35 +08:00
开源海哥
ea83639365 feat: optimize dialect for codegen 2023-10-19 14:22:04 +08:00
开源海哥
bb4d83f559 feat: add Generator.getTables() method 2023-10-18 15:48:51 +08:00
开源海哥
03b0f839cf fix: 代码生成器为做自定义配置时,生成代码 NPE 的问题; close #I88UIZ 2023-10-17 19:57:29 +08:00
LeeNan
32a7072c64 提供了GlobalConfig的customConfig的getter/setter,代码生成器参数列表加入customConfig (变更为putAll方法) 2023-10-10 14:29:30 +08:00
LeeNan
6a3ace95da 提供了GlobalConfig的customConfig的getter/setter,代码生成器参数列表加入customConfig 2023-10-10 11:52:52 +08:00
nosusume
fdf30284b7 feat:codegen配置类实现Serializable接口 2023-09-12 22:14:32 +08:00
ZhuHJay
32d3eefc7d feat: 添加controller-Solon.tpl模板文件 2023-09-09 18:39:26 +08:00
开源海哥
fd46c3207a feat: optimize JdbcTypeMapping.java 2023-09-07 10:19:59 +08:00
Suomm
77582e67a0 feat: 添加更多信息输出。 2023-08-30 12:24:42 +08:00
Suomm
2164596695 fix: Builder 缺少的字段构建。 2023-08-28 20:32:34 +08:00
王帅
687037f75c
update mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/config/StrategyConfig.java.
fix:https://gitee.com/mybatis-flex/mybatis-flex/issues/I7VQW9

Signed-off-by: 王帅 <1474983351@qq.com>
2023-08-24 11:19:55 +00:00
Suomm
03e5c971c6 test: 测试支持 TableConfig 匹配全表。 2023-08-23 08:59:13 +08:00
Suomm
4bbc2b3ed2 feat: 支持 TableConfig 匹配全表。 2023-08-23 08:59:01 +08:00
Suomm
0d09b0d1a2 refactor: 优化 Builder 构建。 2023-08-23 08:58:02 +08:00
Suomm
c471d41442 feat: 添加 setter/getter 方法。 2023-08-23 08:29:03 +08:00
Suomm
6787403cf9 feat: 支持链式与 Builder 构建。 2023-08-23 08:24:59 +08:00
Suomm
4d0efd1005 style: 完善 ColumnConfig 类注释。 2023-08-21 10:05:02 +08:00
Suomm
e5f2c41d04 feat: 添加查询 Object 相关的方法的缓存示例。 2023-08-10 16:45:38 +08:00
开源海哥
42e47878aa test: remove codegen test 2023-08-09 08:56:11 +08:00
开源海哥
2d60efe747 feat: add JdbcTypeMapper to customize bean property type 2023-08-08 09:51:01 +08:00
开源海哥
c9bc421937 refactor: add rawType and rawLength properties for Column.java 2023-08-04 17:37:02 +08:00
开源海哥
04cd5f7ac9 refactor: optimize Generator.java 2023-08-04 10:56:17 +08:00
Suomm
682355fc72 test: 测试 serviceImpl-Solon 模板。 2023-08-02 20:55:36 +08:00
Suomm
b089c0824f feat: 添加 serviceImpl-Solon 模板常量。 2023-08-02 20:55:10 +08:00
Suomm
3d5e73b59d feat: 内置 serviceImpl-Solon 模板。 2023-08-02 20:54:35 +08:00
Suomm
eadb8a32c9 style: 优化代码格式。 2023-08-02 20:54:06 +08:00
Suomm
45ac3a39b4 refactor: 重构默认值。 2023-08-02 20:53:51 +08:00
Jerry Zheng
6732a84a5a fix: 代码生成器 ignoreColumns 变更为只对Entity生成有效果. 2023-07-29 16:24:13 +08:00
Suomm
7170086004 test: Entity 生成支持 Active Record。 2023-07-28 21:26:46 +08:00
Suomm
cf8ae0c4d4 feat: Entity 生成支持 Active Record。 2023-07-28 21:26:38 +08:00
Suomm
13ea70f205 feat: 同步设置。 2023-07-28 21:26:15 +08:00
Suomm
a38bb0bcfe feat: 支持 Active Record 代码生成。 2023-07-28 21:26:04 +08:00
Suomm
8efd7b34fe test: 测试 mapper xml 生成路径。 2023-07-28 18:37:28 +08:00
Suomm
93b466505f fix: mapper xml 默认生成路径错误。 2023-07-28 18:37:06 +08:00
Michael Yang
03579122f3
!186 修改代码生成器中ColumnConfig类,propertyType改为String,使其支持原始类型,添加propertyDefaultValue,支持为实体类的属性添加默认值
Merge pull request !186 from pengpeng/main
2023-07-26 01:41:57 +00:00
zack
3247658ded 修改getPropertySimpleType方法实现,不再使用Class.forName(str), 防止出现找不到类的问题。 2023-07-25 22:48:47 +08:00
zack
91e503ba74 将ColumnConfig的propertyType的类型改为String,使其支持原始类型
ColumnConfig添加propertyDefaultValue属性,支持为生成的实体类的属性添加默认值
补充对应文档。
2023-07-25 22:29:23 +08:00
zack
10d2080a94 Merge branch 'main' of https://gitee.com/dcrpp/mybatis-flex
# Conflicts:
#	mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/config/ColumnConfig.java
#	mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/entity/Column.java
2023-07-25 22:00:39 +08:00
Suomm
1515fdf191 test: 代码生成器多次调用。 2023-07-25 21:17:01 +08:00
Suomm
36df463386 fix: 代码生成器多次调用报错。 2023-07-25 21:16:48 +08:00
zhangchungen
c4a766b540 当配置camelToUnderline属性时entity生成后编译错误的问题 2023-07-25 08:32:56 +08:00
jerry_zheng
d641947d4e feat: add 代码生成器 StrategyConfig 增加ignoreColumns, 用于在Entity生成时,可以忽略部分字段. 2023-07-25 00:07:06 +08:00
jerry_zheng
86525f16e1 feat: add 代码生成器 ColumnConfig 增加 propertyType. 可以用于自定通用属性的类型。 2023-07-24 23:58:58 +08:00
zack
275968d39b 修改ColumnConfig的propertyType字段类型为String,使其支持原始类型
ColumnConfig添加propertyDefaultValue字段,支持为实体类的属性添加默认值
2023-07-24 23:17:00 +08:00
Jerry Zheng(鄭吉銳_華碩蘇州)
f0e2bf11e6 feat: add ColumnConfig 增加propertyType,可以自定属性的类型. 2023-07-24 21:20:01 +08:00
dgmico
4feeb5071d feat: 代码生成,支持 springdoc 2023-07-23 16:44:58 +08:00
开源海哥
48b18f00a6 fix: IllegalArgumentException engine already exist 2023-07-22 19:43:37 +08:00
lhzsdnu
6374524731 代码生成器模板统一风格 2023-07-20 08:54:32 +08:00
Suomm
a83a19f69f fix: TemplateException 2023-07-16 19:14:17 +08:00