diff --git a/pom.xml b/pom.xml
index dd3bb00..3eee00a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
com.github.yulichang
mybatis-plus-join
- 1.0.0-SNAPSHOT
+ 1.0.2
mp
An enhanced toolkit of Mybatis-Plus to simplify development.
https://github.com/yulichang/mybatis-plus-join
@@ -34,18 +34,6 @@
1.8
-
-
-
-
- org.springframework.boot
- spring-boot-dependencies
- 2.3.2.RELEASE
- pom
- import
-
-
-
com.baomidou
@@ -62,22 +50,13 @@
-
-
- ossrh
- https://oss.sonatype.org/content/repositories/snapshots
-
-
- ossrh
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
-
-
+
org.apache.maven.plugins
maven-source-plugin
- 3.2.1
+ 2.2.1
attach-sources
@@ -100,6 +79,33 @@
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 1.5
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+
+
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+ 1.6.8
+ true
+
+ ossrh
+ https://oss.sonatype.org/
+ true
+
+
@@ -117,55 +123,10 @@
release
-
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.7
- true
-
- ossrh
- https://oss.sonatype.org/
- true
-
-
-
- org.apache.maven.plugins
- maven-release-plugin
- 2.5
-
- true
- false
- release
- deploy
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 3.8.1
-
- 1.8
- 1.8
-
-
-
- org.apache.maven.plugins
- maven-gpg-plugin
- 1.6
-
-
- sign-artifacts
- verify
-
- sign
-
-
-
-
org.apache.maven.plugins
maven-source-plugin
- 3.2.1
+ 2.2.1
attach-sources
@@ -188,8 +149,46 @@
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 1.5
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+
+
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+ 1.6.7
+ true
+
+ ossrh
+ https://oss.sonatype.org/
+ true
+
+
+
+
+
+ ossrh
+ https://oss.sonatype.org/content/repositories/snapshots
+
+
+ ossrh
+ https://oss.sonatype.org/service/local/staging/deploy/maven2/
+
+
diff --git a/src/main/java/com/github/mybatisplus/interceptor/MyResultInterceptor.java b/src/main/java/com/github/mybatisplus/interceptor/MyResultInterceptor.java
deleted file mode 100644
index 61939af..0000000
--- a/src/main/java/com/github/mybatisplus/interceptor/MyResultInterceptor.java
+++ /dev/null
@@ -1,98 +0,0 @@
-package com.github.mybatisplus.interceptor;
-
-import com.baomidou.mybatisplus.core.MybatisParameterHandler;
-import com.baomidou.mybatisplus.core.toolkit.ClassUtils;
-import com.baomidou.mybatisplus.core.toolkit.StringUtils;
-import com.github.mybatisplus.toolkit.Constant;
-import org.apache.ibatis.executor.resultset.DefaultResultSetHandler;
-import org.apache.ibatis.executor.resultset.ResultSetHandler;
-import org.apache.ibatis.plugin.*;
-import org.springframework.cglib.beans.BeanMap;
-
-import java.lang.reflect.Field;
-import java.sql.Statement;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-import java.util.Objects;
-
-/**
- * 结果封装
- *
- * @author yulichang
- */
-@Intercepts({@Signature(type = ResultSetHandler.class, method = "handleResultSets", args = {Statement.class})})
-public class MyResultInterceptor implements Interceptor {
-
- private static Field parameterHandler = null;
-
- static {
- try {
- parameterHandler = DefaultResultSetHandler.class.getDeclaredField("parameterHandler");
- parameterHandler.setAccessible(true);
- } catch (NoSuchFieldException e) {
- e.printStackTrace();
- }
- }
-
- @Override
- public Object intercept(Invocation invocation) throws Throwable {
- DefaultResultSetHandler handler = (DefaultResultSetHandler) invocation.getTarget();
- Object result = invocation.proceed();
- if (Objects.isNull(result)) {
- return null;
- }
- Class> val = getFieldVal(handler);
- if (val == null) {
- return result;
- }
- if (result instanceof ArrayList) {
- List