@Intercepts(value=@Signature(type=org.apache.ibatis.executor.Executor.class,method="update",args={org.apache.ibatis.mapping.MappedStatement.class,java.lang.Object.class}))
public class SqlExplainInterceptor
extends AbstractSqlParserHandler
implements org.apache.ibatis.plugin.Interceptor
//todo 苗神来改个名 防止全表更新与删除
| 构造器和说明 |
|---|
SqlExplainInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
intercept(org.apache.ibatis.plugin.Invocation invocation) |
java.lang.Object |
plugin(java.lang.Object target) |
void |
setProperties(java.util.Properties prop) |
sqlParserpublic java.lang.Object intercept(org.apache.ibatis.plugin.Invocation invocation)
throws java.lang.Throwable
intercept 在接口中 org.apache.ibatis.plugin.Interceptorjava.lang.Throwablepublic java.lang.Object plugin(java.lang.Object target)
plugin 在接口中 org.apache.ibatis.plugin.Interceptorpublic void setProperties(java.util.Properties prop)
setProperties 在接口中 org.apache.ibatis.plugin.Interceptor