public class MySqlDialect extends AbstractHelperDialect
countSqlParser
PAGEPARAMETER_FIRST, PAGEPARAMETER_SECOND, SUFFIX_COUNT, SUFFIX_PAGE
Constructor and Description |
---|
MySqlDialect() |
Modifier and Type | Method and Description |
---|---|
String |
getPageSql(String sql,
Page page,
org.apache.ibatis.cache.CacheKey pageKey)
单独处理分页部分
|
Object |
processPageParameter(org.apache.ibatis.mapping.MappedStatement ms,
Map<String,Object> paramMap,
Page page,
org.apache.ibatis.mapping.BoundSql boundSql,
org.apache.ibatis.cache.CacheKey pageKey)
处理分页参数
|
afterAll, afterCount, afterPage, beforeCount, beforePage, getCountSql, getLocalPage, getPageSql, handleParameter, processParameterObject, setProperties, skip
public Object processPageParameter(org.apache.ibatis.mapping.MappedStatement ms, Map<String,Object> paramMap, Page page, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey)
AbstractHelperDialect
processPageParameter
in class AbstractHelperDialect
public String getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey)
AbstractHelperDialect
getPageSql
in class AbstractHelperDialect
Copyright © 2018. All rights reserved.