@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 CnaWorldInnerInterceptor
extends Object
implements org.apache.ibatis.plugin.Interceptor
| 限定符和类型 | 类和说明 |
|---|---|
(专用程序包) static class |
CnaWorldInnerInterceptor.BoundSqlSqlSource
定义一个内部辅助类,作用是包装sq
|
| 构造器和说明 |
|---|
CnaWorldInnerInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
getUpdatedVersionVal(Class<?> clazz,
String versionColumn) |
protected com.baomidou.mybatisplus.core.metadata.TableFieldInfo |
getVersionFieldInfo(Class<?> entityClazz) |
Object |
intercept(org.apache.ibatis.plugin.Invocation invocation) |
public Object intercept(org.apache.ibatis.plugin.Invocation invocation) throws Throwable
intercept 在接口中 org.apache.ibatis.plugin.InterceptorThrowableprotected com.baomidou.mybatisplus.core.metadata.TableFieldInfo getVersionFieldInfo(Class<?> entityClazz)
Copyright © 2023. All rights reserved.