fix IJPACommData findall

V0.5.x
jay 2023-06-05 20:55:54 +08:00
parent 4bf5851b49
commit 256df1b0a5
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ public interface IJPACommData< T extends Id<ID>, ID> extends ICommonData<T , ID
@Override
default List<T> findAll() {
return MapstructUtils.convert(getBaseRepository().findAll(), getJpaRepositoryClass());
return MapstructUtils.convert(getBaseRepository().findAll(), getTClass());
}
@Override