public interface CountMsIdGen
返回的 msId 会先判断是否存在自定义的方法,存在就直接使用
如果不存在,会根据当前的 msId 创建 MappedStatement
| Modifier and Type | Field and Description |
|---|---|
static CountMsIdGen |
DEFAULT
默认实现
|
| Modifier and Type | Method and Description |
|---|---|
String |
genCountMsId(org.apache.ibatis.mapping.MappedStatement ms,
Object parameter,
org.apache.ibatis.mapping.BoundSql boundSql,
String countSuffix)
构建当前查询对应的 count 方法 id
|
static final CountMsIdGen DEFAULT
String genCountMsId(org.apache.ibatis.mapping.MappedStatement ms, Object parameter, org.apache.ibatis.mapping.BoundSql boundSql, String countSuffix)
ms - 查询对应的 MappedStatementparameter - 方法参数boundSql - 查询SQLcountSuffix - 配置的 count 后缀Copyright © 2023. All rights reserved.