接口 SqlInterceptor
- 所有已知实现类:
DefaultSqlInterceptor,FinalPageInterceptor
public interface SqlInterceptor
- 作者:
- lingkang Created by 2022/4/18 拦截器,可拦截执行之前的SQL和执行之后的结果处理
-
方法概要
修饰符和类型方法说明voidafter(ExSqlEntity sqlEntity, Connection connection, Object result) 执行SQL之后的结果拦截器voidbefore(ExSqlEntity sqlEntity, Connection connection) 执行之前拦截SQL,可进一步进行处理
-
方法详细资料
-
before
执行之前拦截SQL,可进一步进行处理- 参数:
sqlEntity-connection-
-
after
执行SQL之后的结果拦截器- 参数:
sqlEntity-connection-result-
-