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 |
|
Suomm
|
0f84387f7d
|
fix: selectColumn NPE。
|
2024-01-20 20:21:50 +08:00 |
|
Michael Yang
|
4899efc360
|
Merge pull request #266 from RisenMyth/fix-audit
fix:SQL审计正确返回变更行数
|
2024-01-20 20:15:56 +08:00 |
|
michael
|
925f702c0b
|
Merge branch 'main' of https://github.com/mybatis-flex/mybatis-flex
|
2024-01-20 20:10:43 +08:00 |
|
王帅
|
2c75ded0f7
|
!383 fix:解决重名映射问题。
Merge pull request !383 from 王帅/main
|
2024-01-20 11:46:58 +00:00 |
|
Suomm
|
78ab827d42
|
reset: 回滚 API 更改。
|
2024-01-19 19:31:23 +08:00 |
|
王帅
|
98c555d451
|
!410 优化多数据源下打印问题, 新增扩展接口
Merge pull request !410 from huang__2/main
|
2024-01-19 11:26:26 +00:00 |
|
michael
|
f79abc50fc
|
chore:code format
|
2024-01-19 10:19:58 +08:00 |
|
hy
|
646caa4c8f
|
fix: EnumValue枚举方法级别逻辑判断优化
|
2024-01-18 23:15:59 +08:00 |
|
hy
|
64a625d098
|
fix: 回滚到仅支持get方法级别EnumValue注解
|
2024-01-18 23:00:20 +08:00 |
|
hy
|
984ed7eb60
|
fix: 规范字段命名
|
2024-01-18 22:25:22 +08:00 |
|
hy
|
75c4f74861
|
fix: 文档优化,枚举注解获取优化
|
2024-01-18 22:21:01 +08:00 |
|
唐振超
|
37be8fb2aa
|
update mybatis-flex-core/src/main/java/com/mybatisflex/core/relation/RelationManager.java.
修复数据关联bug,当数字自身对应的字段没有值的情况下,无法关联到对应的对象,应该直接返回
Signed-off-by: 唐振超 <imtzc@qq.com>
|
2024-01-18 10:38:32 +00:00 |
|
huangxy
|
df46db6ec5
|
optimize: 增加扫描接口上枚举注解EnumValue
|
2024-01-18 17:07:46 +08:00 |
|
WenJian
|
9d5ac3f8f1
|
fix:SQL审计正确返回变更行数
|
2024-01-18 16:23:03 +08:00 |
|
Michael Yang
|
8e51a935bb
|
Merge pull request #252 from farukonfly/main
Add global dialect setting
|
2024-01-18 12:52:28 +08:00 |
|
huangxy
|
bbd1f8daee
|
optimize: 枚举注解EnumValue 用在方法上
|
2024-01-18 11:08:04 +08:00 |
|
huangxy
|
f9502671cf
|
fix: add 多数据源打印数据源名字 新增扩展 SqlDebugExtPrinter
|
2024-01-18 10:21:11 +08:00 |
|
hy
|
f2b838a5e1
|
fix: 优化非多数据源下打印问题
|
2024-01-18 00:14:47 +08:00 |
|