JAVA 拦截器实现自定义分页
1.创建PageInterceptor类,实现Interceptor接口 说明:拦截的类型为StatementHandler,方法为prepare@Component@Intercepts({@Signature(type = StatementHandler.class, method = "prepare", args = {Connection.class,Integer.class})})public class PageInterceptor implements Interce..
原创
2021-09-13 15:55:16 ·
607 阅读 ·
0 评论