| 程序包 | 说明 |
|---|---|
| com.baomidou.mybatisplus.entity |
实体类
|
| com.baomidou.mybatisplus.enums |
枚举类
|
| com.baomidou.mybatisplus.toolkit |
工具包类
|
| 限定符和类型 | 方法和说明 |
|---|---|
IdType |
TableInfo.getIdType() |
IdType |
GlobalConfiguration.getIdType() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TableInfo.setIdType(IdType idType) |
| 限定符和类型 | 方法和说明 |
|---|---|
static IdType |
IdType.getIdType(int idType)
主键策略 (默认 ID_WORKER)
|
static IdType |
IdType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static IdType[] |
IdType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static IdType |
GlobalConfigUtils.getIdType(org.apache.ibatis.session.Configuration configuration) |
Copyright © 2017. All rights reserved.