mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
fix: FlexConfiguration replace resultMap error
This commit is contained in:
parent
0e1467a77c
commit
0e27cd248f
@ -188,7 +188,8 @@ public class FlexConfiguration extends Configuration {
|
||||
Class<?> clazz = resultMap.getType();
|
||||
//判断是否为表实体类
|
||||
if (clazz.getDeclaredAnnotation(Table.class) != null) {
|
||||
ms = replaceResultMap(ms, getTableInfo(ms));
|
||||
TableInfo tableInfo = TableInfoFactory.ofEntityClass(clazz);
|
||||
ms = replaceResultMap(ms, tableInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user