Skip to content

Commit

Permalink
v4.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
troyzhxu committed Jul 13, 2023
1 parent 71b0992 commit 7e14a95
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

* Bean Searcher
* 增强:`DateFieldConvertor` 支持 `Instant` 类型的转换:https://gitee.com/troyzhxu/bean-searcher/pulls/9
* 新增:`EnumParamConvertor` 支持 `String/Emun` 类型的参数自动转换为枚举序号
* 新增:`EnumParamConvertor` 对于枚举字段,可将 `String/Emun` 类型的参数自动转换为 `枚举序号`(默认)或 `枚举名`(由 `@DbField.type` 决定)
* 优化:`PreparedStatement.setObject(..)` 方法报错时,仍然打印 SQL 日志
* Bean Searcher Boot Starter
* 自动配置 `EnumParamConvertor`
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ Bean Searcher can work with any JavaWeb frameworks, such as: SpringBoot, SpringM
All you need is to add a dependence:

```groovy
implementation 'cn.zhxu:bean-searcher-boot-stater:4.1.2'
implementation 'cn.zhxu:bean-searcher-boot-stater:4.2.1'
```

and then you can inject Searcher into a `Controller` or `Service`:
Expand All @@ -241,7 +241,7 @@ private BeanSearcher beanSearcher;
All you need is to add a dependence:

```groovy
implementation 'cn.zhxu:bean-searcher-solon-plugin:4.1.2'
implementation 'cn.zhxu:bean-searcher-solon-plugin:4.2.1'
```

and then you can inject Searcher into a `Controller` or `Service`:
Expand All @@ -265,7 +265,7 @@ private BeanSearcher beanSearcher;
Adding this dependence:

```groovy
implementation 'cn.zhxu:bean-searcher:4.1.2'
implementation 'cn.zhxu:bean-searcher:4.2.1'
```

then you can build a `Searcher` with `SearcherBuilder`:
Expand Down
6 changes: 3 additions & 3 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ List<User> users = beanSearcher.searchList(User.class, params);
#### Spring Boot 项目,添加依赖即集成完毕:

```groovy
implementation 'cn.zhxu:bean-searcher-boot-stater:4.1.2'
implementation 'cn.zhxu:bean-searcher-boot-stater:4.2.1'
```

接着便可在 `Controller``Service` 里注入检索器:
Expand All @@ -231,7 +231,7 @@ private BeanSearcher beanSearcher;
#### Solon 项目,添加依赖即集成完毕:

```groovy
implementation 'cn.zhxu:bean-searcher-solon-plugin:4.1.2'
implementation 'cn.zhxu:bean-searcher-solon-plugin:4.2.1'
```

接着便可在 `Controller``Service` 里注入检索器:
Expand All @@ -253,7 +253,7 @@ private BeanSearcher beanSearcher;
#### 其它框架,使用如下依赖:

```groovy
implementation 'cn.zhxu:bean-searcher:4.1.2'
implementation 'cn.zhxu:bean-searcher:4.2.1'
```

然后可以使用 `SearcherBuilder` 构建一个检索器:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<connection>scm:git:https://github.com/troyzhxu/bean-searcher.git</connection>
<developerConnection>scm:git:https://github.com/troyzhxu/bean-searcher.git</developerConnection>
<url>https://github.com/troyzhxu/bean-searcher</url>
<tag>v4.2.0</tag>
<tag>v4.2.1</tag>
</scm>

<dependencies>
Expand Down

0 comments on commit 7e14a95

Please sign in to comment.