diff --git a/mybatis-plus-join-core/src/main/java/com/github/yulichang/interceptor/MPJInterceptor.java b/mybatis-plus-join-core/src/main/java/com/github/yulichang/interceptor/MPJInterceptor.java index de31730..f3e51eb 100644 --- a/mybatis-plus-join-core/src/main/java/com/github/yulichang/interceptor/MPJInterceptor.java +++ b/mybatis-plus-join-core/src/main/java/com/github/yulichang/interceptor/MPJInterceptor.java @@ -10,7 +10,7 @@ import com.github.yulichang.toolkit.Constant; import com.github.yulichang.toolkit.MPJReflectionKit; import com.github.yulichang.toolkit.TableHelper; import com.github.yulichang.wrapper.MPJLambdaWrapper; -import com.github.yulichang.wrapper.resultmap.MybatisLabel; +import com.github.yulichang.wrapper.resultmap.Label; import com.github.yulichang.wrapper.resultmap.Result; import com.github.yulichang.wrapper.segments.Select; import com.github.yulichang.wrapper.segments.SelectLabel; @@ -190,7 +190,7 @@ public class MPJInterceptor implements Interceptor { } if (wrapper.isResultMap()) { for (Object o : wrapper.getResultMapMybatisLabel()) { - MybatisLabel label = (MybatisLabel) o; + Label label = (Label) o; resultMappings.add(buildResult(ms, label, columnSet, columnList)); } } @@ -214,15 +214,13 @@ public class MPJInterceptor implements Interceptor { /** * @return 返回节点id */ - private ResultMapping buildResult(MappedStatement ms, MybatisLabel mybatisLabel, Set columnSet, + private ResultMapping buildResult(MappedStatement ms, Label mybatisLabel, Set columnSet, List