1323 Commits

Author SHA1 Message Date
Michael Yang
0774f1f529 chore: optimize exception message 2024-02-29 10:19:29 +08:00
Michael Yang
a3a237b099 fix: fix and close #I94D33 2024-02-28 14:49:00 +08:00
Michael Yang
83c3afe542 fix: fix and close #I94749 and close #I94321 2024-02-28 09:42:32 +08:00
Michael Yang
7bf7e4d103 feat: add CommaSplitTypeHandler.java 2024-02-26 12:43:30 +08:00
Michael Yang
135e0d9a81 feat: add CommaSplitTypeHandler.java 2024-02-26 12:19:30 +08:00
Michael Yang
203f4d5236 refactor: optimize MapperInvocationHandler.java 2024-02-26 09:30:59 +08:00
jingwei.cao
ce58e65110 fix I937IA 2024-02-23 15:37:02 +08:00
jingwei.cao
4071be741c fix I937IA 2024-02-23 14:34:14 +08:00
Michael Yang
03bb32c979 build: v1.8.0 release (^.^)YYa!! 2024-02-23 10:51:12 +08:00
Michael Yang
407c8d5b68 build: v1.8.0 release (^.^)YYa!! 2024-02-23 10:32:22 +08:00
Suomm
96df62cabb fix: https://gitee.com/mybatis-flex/mybatis-flex/issues/I92OIA 2024-02-21 16:55:37 +08:00
ruansheng
61caa521df 修复使用Mappers执行语法时, 异常未被精确抛出问题 2024-02-20 10:12:39 +08:00
Michael Yang
a78a08ac73
Merge pull request #279 from ruansheng8/fix-EntityListener
修复实体类实现多层级的接口时监听器无法匹配问题
2024-02-19 15:20:36 +08:00
ruansheng
ea48a0a9bc 修复实体类实现多层级的接口时监听器无法匹配问题 2024-02-19 11:20:07 +08:00
Michael Yang
66e09d0857 fix: github close #276 2024-02-15 20:11:51 +08:00
leizhiyou
5325ef79ea fix: selectXxxAs(wrapper, VO.class), 复杂类型VO 嵌套查询时,会重复调用 configuration.addResultMap(nestedResultMap); 抛出异常 2024-02-04 15:49:50 +08:00
Michael Yang
1222aebfe8 build: v1.7.9 release (^.^)YYa!! 2024-02-04 13:30:46 +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
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
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
5d7ce74343 build: v1.7.8 release (^.^)YYa!! 2024-02-01 10:11:00 +08:00
唐振超
35cc6fc506
bug修复,clearMaxDepth清理内容错误
Signed-off-by: 唐振超 <imtzc@qq.com>
2024-02-01 01:28:20 +00: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
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
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
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
Suomm
a33a5becfe test: 完善测试。 2024-01-21 21:53:56 +08:00
Suomm
ce9fb7a6e7 fix: 重复列获取问题。 2024-01-21 21:27:27 +08:00
Suomm
bef851d017 feat: 优化 ResultMap 构建,又双叒叕处理重名问题。 2024-01-21 19:38:38 +08:00
michael
ab7e705b45 feat: optimize FieldWrapper.java 2024-01-21 12:58:51 +08:00
michael
f8f9583bfc fix: close #244 2024-01-20 21:51:51 +08:00
michael
0112d96fe9 fix: optimize AuditManager.startAudit 2024-01-20 20:27:40 +08:00