mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	Revert "update 优化 加密拦截器plugin方法按规定返回代理对象"
This reverts commit f6d9bec16c.
			
			
This commit is contained in:
		@@ -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;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user