mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
Merge branch 'main' of https://gitee.com/mybatis-flex/mybatis-flex
This commit is contained in:
commit
df448edd9a
@ -94,8 +94,8 @@ public class TableInfoFactory {
|
||||
|
||||
|
||||
private static Class<?> getEntityClass(Class<?> mapperClass) {
|
||||
if (mapperClass == null) {
|
||||
throw new NullPointerException("mapperClass can not be null.");
|
||||
if (mapperClass == null || mapperClass == Object.class) {
|
||||
return null;
|
||||
}
|
||||
Type[] genericInterfaces = mapperClass.getGenericInterfaces();
|
||||
if (genericInterfaces.length == 1) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user