mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
optimize...
This commit is contained in:
parent
84c428c5a7
commit
4f474996b3
@ -811,7 +811,7 @@ public class TableInfo {
|
||||
|
||||
// <resultMap> 标签下的 <result> 标签映射
|
||||
for (ColumnInfo columnInfo : columnInfoList) {
|
||||
doBuildColumnResultMapping(configuration, existMappingColumns, resultMappings, columnInfo, Collections.EMPTY_LIST, isNested);
|
||||
doBuildColumnResultMapping(configuration, existMappingColumns, resultMappings, columnInfo, Collections.emptyList(), isNested);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -22,6 +22,7 @@ import com.mybatisflex.core.table.TableInfoFactory;
|
||||
import org.apache.ibatis.reflection.property.PropertyNamer;
|
||||
import org.apache.ibatis.util.MapUtil;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.lang.invoke.SerializedLambda;
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.Map;
|
||||
@ -65,7 +66,7 @@ public class LambdaUtil {
|
||||
}
|
||||
|
||||
|
||||
private static <T> SerializedLambda getSerializedLambda(LambdaGetter<T> getter) {
|
||||
private static SerializedLambda getSerializedLambda(Serializable getter) {
|
||||
return MapUtil.computeIfAbsent(lambdaMap, getter.getClass(), aClass -> {
|
||||
try {
|
||||
Method method = getter.getClass().getDeclaredMethod("writeReplace");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user