Skip to content

Commit 41f6f4c

Browse files
committed
refactor: 增加newInstanceNow方法
1 parent 482f967 commit 41f6f4c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hsweb-easy-orm-rdb/src/main/java/org/hswebframework/ezorm/rdb/mapping/defaults/DefaultReactiveRepository.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ public Mono<E> newInstance() {
5252
return Mono.fromSupplier(wrapper::newRowInstance);
5353
}
5454

55+
@Override
56+
public E newInstanceNow() {
57+
return wrapper.newRowInstance();
58+
}
59+
5560
@Override
5661
public Mono<E> findById(Mono<K> primaryKey) {
5762
return primaryKey

0 commit comments

Comments
 (0)