From 82050c708633f980726a82cb09fbe66918deacf4 Mon Sep 17 00:00:00 2001 From: yulichang <570810310@qq.com> Date: Wed, 30 Nov 2022 14:10:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/github/yulichang/interceptor/MPJInterceptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0f3aba6..f025d07 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 @@ -106,7 +106,7 @@ public class MPJInterceptor implements Interceptor { } if (ew instanceof MPJQueryWrapper) { MPJQueryWrapper wrapper = (MPJQueryWrapper) ew; - return getCache(ms, id + wrapper.getSqlSelect(), resultType, ew); + return getCache(ms, id + StringPool.UNDERSCORE + wrapper.getSqlSelect(), resultType, ew); } return buildMappedStatement(ms, resultType, ew, id); }