fix PageBuilder泛型
parent
6084ef4333
commit
03bab5d899
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue