mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
id
This commit is contained in:
parent
2b05832304
commit
a6eb12bc9e
@ -95,7 +95,7 @@ public class MPJInterceptor implements Interceptor {
|
|||||||
public MappedStatement getMappedStatement(MappedStatement ms, Class<?> resultType, Object ew) {
|
public MappedStatement getMappedStatement(MappedStatement ms, Class<?> resultType, Object ew) {
|
||||||
String id = ms.getId() + StringPool.UNDERSCORE + resultType.getName();
|
String id = ms.getId() + StringPool.UNDERSCORE + resultType.getName();
|
||||||
|
|
||||||
if (ew instanceof MPJLambdaWrapper) {
|
if (ew instanceof MPJLambdaWrapper && ((MPJLambdaWrapper<?>) ew).isResultMap()) {
|
||||||
//不走缓存
|
//不走缓存
|
||||||
return buildMappedStatement(ms, resultType, ew, id);
|
return buildMappedStatement(ms, resultType, ew, id);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user