Compare commits

...

3 Commits

Author SHA1 Message Date
Michael Yang
70a97bb0eb build: v1.11.3 release (^.^)YYa!! 2025-09-26 12:09:44 +08:00
Michael Yang
efd2a442d4 fix: 修复 QueryColumn.between_(values) 不能为 null 的问题 2025-09-26 12:02:26 +08:00
Michael Yang
d5d7c3e250 build: v1.11.2 release (^.^)YYa!! 2025-09-26 11:05:18 +08:00
4 changed files with 44 additions and 4 deletions

View File

@ -2,6 +2,23 @@
查看 [全部代码贡献者](/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

View File

@ -2,6 +2,23 @@
查看 [全部代码贡献者](/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

View File

@ -510,10 +510,16 @@ public class QueryColumn implements CloneSupport<QueryColumn>, Conditional<Query
}
QueryCondition between_(Object[] values) {
if (values == null || values.length != 2) {
throw new IllegalArgumentException("values is null or length is not 2");
// if (values == null || values.length != 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);
}

View File

@ -69,7 +69,7 @@
<maven.compiler.target>8</maven.compiler.target>
<!-- Mybatis-Flex 版本 -->
<revision>1.11.1</revision>
<revision>1.11.3</revision>
<flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
<xml-maven-plugin.version>1.1.0</xml-maven-plugin.version>