@Signature(type=org.apache.ibatis.executor.Executor.class,method="query",args={org.apache.ibatis.mapping.MappedStatement.class,java.lang.Object.class,org.apache.ibatis.session.RowBounds.class,org.apache.ibatis.session.ResultHandler.class}) @Signature(type=org.apache.ibatis.executor.Executor.class,method="query",args={org.apache.ibatis.mapping.MappedStatement.class,java.lang.Object.class,org.apache.ibatis.session.RowBounds.class,org.apache.ibatis.session.ResultHandler.class,org.apache.ibatis.cache.CacheKey.class,org.apache.ibatis.mapping.BoundSql.class})
public class PagerInterceptor
extends Object
implements org.apache.ibatis.plugin.Interceptor, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
| 构造器和说明 |
|---|
PagerInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
intercept(org.apache.ibatis.plugin.Invocation invocation) |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
Spring启动完毕之后,就将需要分页的Mapper抽取出来,存入缓存
|
Copyright © 2022. All rights reserved.