public interface MybatisInterceptor
| 限定符和类型 | 方法和说明 |
|---|---|
default Object |
aroundQuery(ChainFilter chainFilter,
org.apache.ibatis.executor.statement.StatementHandler sh,
org.apache.ibatis.mapping.MappedStatement ms,
org.apache.ibatis.mapping.BoundSql boundSql,
Statement statement,
org.apache.ibatis.session.ResultHandler resultHandler)
环绕select拦截
|
default Object |
aroundUpdate(ChainFilter chainFilter,
org.apache.ibatis.executor.statement.StatementHandler sh,
org.apache.ibatis.mapping.MappedStatement ms,
org.apache.ibatis.mapping.BoundSql boundSql,
Statement statement)
环绕update拦截
|
default Object |
result(Object result,
org.apache.ibatis.executor.resultset.ResultSetHandler resultSetHandler,
Statement statement)
结果集拦截
|
default Object aroundUpdate(ChainFilter chainFilter, org.apache.ibatis.executor.statement.StatementHandler sh, org.apache.ibatis.mapping.MappedStatement ms, org.apache.ibatis.mapping.BoundSql boundSql, Statement statement)
default Object aroundQuery(ChainFilter chainFilter, org.apache.ibatis.executor.statement.StatementHandler sh, org.apache.ibatis.mapping.MappedStatement ms, org.apache.ibatis.mapping.BoundSql boundSql, Statement statement, org.apache.ibatis.session.ResultHandler resultHandler)
Copyright © 2024. All rights reserved.