|
@@ -6,7 +6,10 @@ import cn.hutool.core.util.ObjectUtil;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.apache.ibatis.executor.parameter.ParameterHandler;
|
|
import org.apache.ibatis.executor.parameter.ParameterHandler;
|
|
-import org.apache.ibatis.plugin.*;
|
|
|
|
|
|
+import org.apache.ibatis.plugin.Interceptor;
|
|
|
|
+import org.apache.ibatis.plugin.Intercepts;
|
|
|
|
+import org.apache.ibatis.plugin.Invocation;
|
|
|
|
+import org.apache.ibatis.plugin.Signature;
|
|
import org.dromara.common.core.utils.StringUtils;
|
|
import org.dromara.common.core.utils.StringUtils;
|
|
import org.dromara.common.encrypt.annotation.EncryptField;
|
|
import org.dromara.common.encrypt.annotation.EncryptField;
|
|
import org.dromara.common.encrypt.core.EncryptContext;
|
|
import org.dromara.common.encrypt.core.EncryptContext;
|
|
@@ -51,7 +54,7 @@ public class MybatisEncryptInterceptor implements Interceptor {
|
|
this.encryptHandler(parameterObject);
|
|
this.encryptHandler(parameterObject);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- return Plugin.wrap(target, this);
|
|
|
|
|
|
+ return target;
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|