public class PaginationInterceptor extends Object implements org.apache.ibatis.plugin.Interceptor
| Modifier and Type | Class and Description |
|---|---|
class |
PaginationInterceptor.RawSqlSource |
| Constructor and Description |
|---|
PaginationInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clean() |
static int |
getPaginationTotal()
Get Pagination total
|
Object |
intercept(org.apache.ibatis.plugin.Invocation invocation) |
Object |
plugin(Object target) |
static void |
setPaginationTotal(Integer total)
Set Pagination total
lst 提供set方法在自己定义的PaginationInterceptor拦截器中赋值total
|
void |
setProperties(Properties properties) |
public static int getPaginationTotal()
public static void setPaginationTotal(Integer total)
public static void clean()
public Object intercept(org.apache.ibatis.plugin.Invocation invocation) throws Throwable
intercept in interface org.apache.ibatis.plugin.InterceptorThrowablepublic Object plugin(Object target)
plugin in interface org.apache.ibatis.plugin.Interceptorpublic void setProperties(Properties properties)
setProperties in interface org.apache.ibatis.plugin.InterceptorCopyright © 2015–2023 cn.gtmap. All rights reserved.