Revert "update 优化 加密拦截器plugin方法按规定返回代理对象"

This reverts commit f6d9bec16c29e76f52ea264c023ac3793abcb3de.
This commit is contained in:
疯狂的狮子Li 2024-11-15 11:11:42 +08:00
parent 2d2bd48963
commit 631739733f

View File

@ -6,7 +6,10 @@ import cn.hutool.core.util.ObjectUtil;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
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.encrypt.annotation.EncryptField;
import org.dromara.common.encrypt.core.EncryptContext;
@ -51,7 +54,7 @@ public class MybatisEncryptInterceptor implements Interceptor {
this.encryptHandler(parameterObject);
}
}
return Plugin.wrap(target, this);
return target;
}
/**