fix PageBuilder泛型

V0.5.x
jay 2023-06-01 15:38:37 +08:00
parent 6084ef4333
commit 03bab5d899
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ public interface IJPACommData< T extends Id<ID>, ID> extends ICommonData<T , ID
Example example = genExample(pageRequest.getData());
Page<T> all = getBaseRepository().findAll(example, PageBuilder.toPageable(pageRequest));
return (Paging<T>) PageBuilder.toPaging(all);
return PageBuilder.toPaging(all);
}
/**