ruansheng
|
ea48a0a9bc
|
修复实体类实现多层级的接口时监听器无法匹配问题
|
2024-02-19 11:20:07 +08:00 |
|
Michael Yang
|
87c8c45776
|
fix: fixed NPE in FileUtil, close #I90XE5
|
2024-02-04 12:21:40 +08:00 |
|
Michael Yang
|
3adc45de41
|
fix: fixed NPE in AbstractRelation.java, close #I90XTY
|
2024-02-04 12:18:38 +08:00 |
|
Michael Yang
|
f5051dbac9
|
refactor: optimize TableInfoFactory
|
2024-02-03 16:24:59 +08:00 |
|
Michael Yang
|
f476bd80d5
|
refactor: optimize TableInfoFactory and codegen module
|
2024-02-03 16:13:55 +08:00 |
|
Michael Yang
|
34ca4730ee
|
chore: code format
|
2024-02-03 11:49:02 +08:00 |
|
Michael Yang
|
086c40362b
|
refactor: optimize TableInfoFactory.java
|
2024-02-03 11:39:59 +08:00 |
|
Michael Yang
|
52d32ed4c5
|
Merge pull request #274 from 20perline/main
支持通过FlexConfiguration预注册的自定义typeHandler,同时解决需要带自定义初始化参数的问题
|
2024-02-03 11:37:34 +08:00 |
|
Michael Yang
|
bbab37a21a
|
fix: paginateWithRelationsAs and close #I90S5G
|
2024-02-03 10:29:18 +08:00 |
|
tanglh
|
8dd5578d15
|
支持通过FlexConfiguration预注册的自定义typeHandler,同时解决需要带自定义初始化参数的问题
|
2024-02-02 23:42:29 +08:00 |
|
Suomm
|
4d7c7f66dc
|
Merge remote-tracking branch 'origin/main'
|
2024-02-02 23:37:59 +08:00 |
|
Suomm
|
f031206d71
|
doc: 缩短标题。
|
2024-02-02 23:36:49 +08:00 |
|
Michael Yang
|
de4f533d0a
|
!419 对于注册了全局typehandler的字段类型,也应该可以进行插入查询
Merge pull request !419 from 天海蒼灆/feature/table-typehandler
|
2024-02-02 09:10:55 +00:00 |
|
huangaoqin
|
7d32773cd9
|
优化对全局配置的typehandler支持
|
2024-02-02 16:13:09 +08:00 |
|
Michael Yang
|
3330a417a9
|
fix: Db.insertBatchWithFirstRowColumns 不能自动填充主键字段 close #273
|
2024-02-02 11:52:03 +08:00 |
|
Michael Yang
|
7cd79889ae
|
fix: Db.insertBatchWithFirstRowColumns 当 row key 的顺序没保持一致时,出错的问题 #273
|
2024-02-02 11:11:11 +08:00 |
|
Michael Yang
|
bf3dcbc625
|
!414 添加在不配置 genPath 时对增量编译的支持,并在 QueryColumnBehavior 中新增条件转换功能
Merge pull request !414 from CloudPlayer/main
|
2024-02-02 02:33:45 +00:00 |
|
Michael Yang
|
853435c837
|
!417 Relation模式新增指定关联查询的方式
Merge pull request !417 from 唐振超/main
|
2024-02-02 02:31:42 +00:00 |
|
Michael Yang
|
e2e458a56b
|
!418 修复>=拼接为=的问题
Merge pull request !418 from witt/fix_I90L9A
|
2024-02-02 02:31:10 +00:00 |
|
witt
|
44dc2c1271
|
fix: #I90L9A 修复>=拼接为=
|
2024-02-02 09:24:39 +08:00 |
|
唐振超
|
d1f7b67724
|
update mybatis-flex-core/src/main/java/com/mybatisflex/core/query/MapperQueryChain.java.
使用relation关联查询的时候,更多情况下是【目的明确】的只查询某几个关联,所以只需要调用addQueryRelations即可。addIgnoreRelations的这种反向操作不利点是,后续的关系有拓展了,原来使用ignore方式的,会进行不必要的关联查询。
Signed-off-by: 唐振超 <imtzc@qq.com>
|
2024-02-01 15:53:17 +00:00 |
|
唐振超
|
0817ce4c4b
|
update mybatis-flex-core/src/main/java/com/mybatisflex/core/activerecord/Model.java.
使用relation关联查询的时候,更多情况下是【目的明确】的只查询某几个关联,所以只需要调用addQueryRelations即可。addIgnoreRelations的这种反向操作不利点是,后续的关系有拓展了,原来使用ignore方式的,会进行不必要的关联查询。
Signed-off-by: 唐振超 <imtzc@qq.com>
|
2024-02-01 15:51:52 +00:00 |
|
Michael Yang
|
d541d03396
|
build: v1.7.8 release (^.^)YYa!!
v1.7.8
|
2024-02-01 10:11:04 +08:00 |
|
Michael Yang
|
5d7ce74343
|
build: v1.7.8 release (^.^)YYa!!
|
2024-02-01 10:11:00 +08:00 |
|
Michael Yang
|
13e1f7b539
|
!415 bug修复,clearMaxDepth清理内容不对
Merge pull request !415 from 唐振超/main
|
2024-02-01 01:36:53 +00:00 |
|
唐振超
|
35cc6fc506
|
bug修复,clearMaxDepth清理内容错误
Signed-off-by: 唐振超 <imtzc@qq.com>
|
2024-02-01 01:28:20 +00:00 |
|
Suomm
|
619041f775
|
test: 优化测试。
|
2024-01-30 20:50:22 +08:00 |
|
Michael Yang
|
5c24582fdb
|
refactor: optimize Page.java
|
2024-01-30 17:22:02 +08:00 |
|
Michael Yang
|
a264a4cffb
|
test: optimize junit test
|
2024-01-30 16:58:51 +08:00 |
|
Michael Yang
|
34a82dda4c
|
feat: 代码生成器添加生成 BaseEntity 的支持 close #I7JH7K
|
2024-01-30 16:31:11 +08:00 |
|
Michael Yang
|
22625247a2
|
Merge pull request #271 from luo-zhan/main
QueryWrapper的一些改动&文档优化补充
|
2024-01-30 12:23:21 +08:00 |
|
CloudPlayer
|
a6a5c76798
|
增加条件判断,删除不必要的代码
|
2024-01-28 14:33:16 +08:00 |
|
Suomm
|
d7259955b3
|
fix: 关联查询 Relation 和 Join 两种方式不应该是互斥的关系。
|
2024-01-27 20:01:38 +08:00 |
|
Suomm
|
e71a40c59f
|
Merge remote-tracking branch 'origin/main'
# Conflicts:
# mybatis-flex-test/mybatis-flex-spring-boot-test/src/test/java/com/mybatisflex/test/TestInfrastructure.java
|
2024-01-27 19:48:07 +08:00 |
|
Suomm
|
c55633172a
|
test: 移除 TestContainer 依赖。
|
2024-01-27 19:46:05 +08:00 |
|
Robot.L
|
9b3c594fa7
|
Merge branch 'mybatis-flex:main' into main
|
2024-01-26 13:46:04 +08:00 |
|
robor.luo
|
48f9c4bb88
|
doc: 优化where动态条件说明
|
2024-01-26 13:04:50 +08:00 |
|
robor.luo
|
d59bb223df
|
doc: 增加select*说明
|
2024-01-26 13:04:02 +08:00 |
|
Michael Yang
|
97c92a186b
|
test: optimize junit test
|
2024-01-26 11:07:48 +08:00 |
|
Michael Yang
|
e2723e0ef6
|
feat: add sourceDir config for generators
|
2024-01-26 10:48:18 +08:00 |
|
robor.luo
|
179032ecec
|
feat: SqlOperators增加支持QueryColumn参数的重载
|
2024-01-26 10:23:42 +08:00 |
|
robor.luo
|
8a0b7e40c2
|
fix: 通过entity构建QueryWrapper时默认拼的defaultQueryColumns而不是all
|
2024-01-26 09:57:01 +08:00 |
|
Suomm
|
25682c1b1b
|
doc: 更新常见问题。
|
2024-01-25 09:59:25 +08:00 |
|
CloudPlayer
|
c7800bc172
|
Merge remote-tracking branch 'origin/main'
|
2024-01-25 01:39:11 +08:00 |
|
CloudPlayer
|
1178d3c58b
|
为 QueryColumn 中的方法添加 condition 转换。已通过 AccountSqlTester 和 DynamicConditionTest 中的测试。
|
2024-01-25 01:11:29 +08:00 |
|
CloudPlayer
|
3b21443d80
|
在 QueryColumnBehavior 中新增静态字段 conditionCaster ,用于全局设置在满足一定条件后,将原条件转换为指定条件,例如将 column = null 转换为 column is null 。可兼容原有的 in 到 = 的智能转换。当智能转换被打开时,会先执行智能转换再执行 conditionCaster 的方法。
对应的测试方法在 DynamicConditionTest 中。
|
2024-01-25 01:11:29 +08:00 |
|
CloudPlayer
|
46fb406e1e
|
优化了一段代码,将 Tables 文件的 if 块抽离;删除了不必要的类型强转;现在即便不配置 genPath ,也能够以特定的字符集生成文件,且为文件增添了依赖文件以用于增量编译。
|
2024-01-25 01:11:29 +08:00 |
|
CloudPlayer
|
5677d96478
|
为 QueryColumn 中的方法添加 condition 转换。已通过 AccountSqlTester 和 DynamicConditionTest 中的测试。
|
2024-01-25 01:09:11 +08:00 |
|
CloudPlayer
|
60e1fdbcca
|
在 QueryColumnBehavior 中新增静态字段 conditionCaster ,用于全局设置在满足一定条件后,将原条件转换为指定条件,例如将 column = null 转换为 column is null 。可兼容原有的 in 到 = 的智能转换。当智能转换被打开时,会先执行智能转换再执行 conditionCaster 的方法。
对应的测试方法在 DynamicConditionTest 中。
|
2024-01-25 00:42:01 +08:00 |
|
CloudPlayer
|
f254a52d85
|
署名;优化了一段代码,将 Tables 文件的 if 块抽离;删除了不必要的类型强转;现在即便不配置 genPath ,也能够以特定的字符集生成文件,且为文件增添了依赖文件以用于增量编译。
|
2024-01-24 14:45:06 +08:00 |
|