mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48:24 +08:00
Compare commits
3 Commits
3c26f72df8
...
70a97bb0eb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
70a97bb0eb | ||
|
|
efd2a442d4 | ||
|
|
d5d7c3e250 |
17
changes.md
17
changes.md
@ -2,6 +2,23 @@
|
|||||||
|
|
||||||
查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。
|
查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。
|
||||||
|
|
||||||
|
## v1.11.3 20250926
|
||||||
|
- 修复: QueryColumn.between_(values) 不能为 null 的问题 #ID03CH
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## v1.11.2 20250926
|
||||||
|
- 新增:添加 Assert 方便在执行 update 的时候进行断言
|
||||||
|
- 新增:添加新函数并增强数据库类型判断能力,感谢 @fangzhengjin
|
||||||
|
- 新增:添加 stringAgg 和 listAgg 函数的重载方法,感谢 @fangzhengjin
|
||||||
|
- 新增:添加新函数并增强数据库类型判断能力,感谢 @fangzhengjin
|
||||||
|
- 新增:AuditMessage 添加 stmtId ,感谢 @pbnoyz
|
||||||
|
- 优化:bom 框架版本统一管理,感谢 @ruansheng8
|
||||||
|
- 优化:bom 同步最新版本依赖,感谢 @ruansheng8
|
||||||
|
- 优化:优化关联查询使用逗号分割时排除空值,感谢 @ruansheng8
|
||||||
|
- 修复:修复自动关联查询功能:表信息查找根据Schema+表名,感谢 @ruansheng8
|
||||||
|
- 文档:更新相关文档 docs/zh/core/id.md,感谢 @java-coding
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## v1.11.1 20250725
|
## v1.11.1 20250725
|
||||||
|
|||||||
@ -2,6 +2,23 @@
|
|||||||
|
|
||||||
查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。
|
查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。
|
||||||
|
|
||||||
|
## v1.11.3 20250926
|
||||||
|
- 修复: QueryColumn.between_(values) 不能为 null 的问题 #ID03CH
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## v1.11.2 20250926
|
||||||
|
- 新增:添加 Assert 方便在执行 update 的时候进行断言
|
||||||
|
- 新增:添加新函数并增强数据库类型判断能力,感谢 @fangzhengjin
|
||||||
|
- 新增:添加 stringAgg 和 listAgg 函数的重载方法,感谢 @fangzhengjin
|
||||||
|
- 新增:添加新函数并增强数据库类型判断能力,感谢 @fangzhengjin
|
||||||
|
- 新增:AuditMessage 添加 stmtId ,感谢 @pbnoyz
|
||||||
|
- 优化:bom 框架版本统一管理,感谢 @ruansheng8
|
||||||
|
- 优化:bom 同步最新版本依赖,感谢 @ruansheng8
|
||||||
|
- 优化:优化关联查询使用逗号分割时排除空值,感谢 @ruansheng8
|
||||||
|
- 修复:修复自动关联查询功能:表信息查找根据Schema+表名,感谢 @ruansheng8
|
||||||
|
- 文档:更新相关文档 docs/zh/core/id.md,感谢 @java-coding
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## v1.11.1 20250725
|
## v1.11.1 20250725
|
||||||
|
|||||||
@ -510,10 +510,16 @@ public class QueryColumn implements CloneSupport<QueryColumn>, Conditional<Query
|
|||||||
}
|
}
|
||||||
|
|
||||||
QueryCondition between_(Object[] values) {
|
QueryCondition between_(Object[] values) {
|
||||||
if (values == null || values.length != 2) {
|
// if (values == null || values.length != 2) {
|
||||||
throw new IllegalArgumentException("values is null or length is not 2");
|
// throw new IllegalArgumentException("values is null or length is not 2");
|
||||||
|
// }
|
||||||
|
|
||||||
|
if (values == null || values.length == 0) {
|
||||||
|
return QueryCondition.createEmpty();
|
||||||
}
|
}
|
||||||
Object start = values[0], end = values[1];
|
|
||||||
|
|
||||||
|
Object start = values[0], end = values.length > 1 ? values[1] : null;
|
||||||
return between_(start, end);
|
return between_(start, end);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@ -69,7 +69,7 @@
|
|||||||
<maven.compiler.target>8</maven.compiler.target>
|
<maven.compiler.target>8</maven.compiler.target>
|
||||||
|
|
||||||
<!-- Mybatis-Flex 版本 -->
|
<!-- Mybatis-Flex 版本 -->
|
||||||
<revision>1.11.1</revision>
|
<revision>1.11.3</revision>
|
||||||
|
|
||||||
<flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
|
<flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
|
||||||
<xml-maven-plugin.version>1.1.0</xml-maven-plugin.version>
|
<xml-maven-plugin.version>1.1.0</xml-maven-plugin.version>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user