From 4a1cd1f21110a42a5181338e733348c2676ff798 Mon Sep 17 00:00:00 2001 From: yulichang <570810310@qq.com> Date: Wed, 7 Dec 2022 19:42:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0join=E9=87=8D=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yulichang/interceptor/MPJInterceptor.java | 3 - .../query/MPJLambdaQueryWrapper.java | 4 +- .../yulichang/query/MPJQueryWrapper.java | 4 +- .../wrapper/interfaces/LambdaJoin.java | 32 +++++++++++ mybatis-plus-join-test/pom.xml | 2 +- .../test/collection/CollectionTest.java | 23 +++++++- .../yulichang/test/join/dto/UserDTO.java | 4 +- .../yulichang/test/join/entity/UserDO.java | 10 +++- .../test-join/src/main/resources/db/data.sql | 44 +++++++-------- .../src/main/resources/db/schema.sql | 2 + .../test/join/LambdaWrapperTest.java | 56 ++++++++++++++----- 11 files changed, 135 insertions(+), 49 deletions(-) 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 f92a895..6789e38 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 @@ -173,9 +173,6 @@ public class MPJInterceptor implements Interceptor { Map fieldMap = ReflectionKit.getFieldMap(resultType); List