Compare commits
4 Commits
1.0.1
...
9ab9d45a53
Author | SHA1 | Date | |
---|---|---|---|
9ab9d45a53 | |||
a901f3231d | |||
91c0c18960 | |||
bc7b3eefa8 |
2
pom.xml
2
pom.xml
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>xyz.zhouxy.plusone</groupId>
|
||||
<artifactId>plusone-commons</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<version>1.0.2</version>
|
||||
|
||||
<properties>
|
||||
<!-- Basic properties -->
|
||||
|
@@ -16,6 +16,7 @@
|
||||
|
||||
package xyz.zhouxy.plusone.commons.function;
|
||||
|
||||
@FunctionalInterface
|
||||
public interface ThrowingPredicate<T, E extends Throwable> {
|
||||
|
||||
/**
|
||||
|
@@ -184,7 +184,7 @@ public class DateTimeTools {
|
||||
/**
|
||||
* 使用指定时区,将 {@link LocalDateTime} 对象转换为 {@link Instant} 对象
|
||||
*
|
||||
* @param LocalDateTime {@link LocalDateTime} 对象
|
||||
* @param localDateTime {@link LocalDateTime} 对象
|
||||
* @param zone 时区
|
||||
* @return {@link Instant} 对象
|
||||
*/
|
||||
|
@@ -212,6 +212,7 @@ public class PagingAndSortingQueryParamsTests {
|
||||
List<AccountVO> list = accountQueries.queryAccountList(params, pagingParams);
|
||||
long count = accountQueries.countAccount(params);
|
||||
PageResult<AccountVO> accountPageResult = PageResult.of(list, count);
|
||||
// TODO [修复] 从 JDK 17 开始,也允许使用反射访问内部字段,所以这里会报错。参考 https://github.com/google/gson/blob/main/Troubleshooting.md#reflection-inaccessible
|
||||
log.info(gson.toJson(accountPageResult));
|
||||
|
||||
assertEquals(Lists.newArrayList(
|
||||
|
Reference in New Issue
Block a user