| Package | Description |
|---|---|
| app.myoss.cloud.mybatis.generator | |
| app.myoss.cloud.mybatis.generator.config | |
| app.myoss.cloud.mybatis.generator.db | |
| app.myoss.cloud.mybatis.generator.db.dialect |
| Modifier and Type | Method and Description |
|---|---|
void |
MyBatisGenerator.generateEntity(Path rootOutputPath,
Table table,
HashMap<String,Object> data)
生成 Entity 实体类文件
|
void |
MyBatisGenerator.generateMapperInterface(Path rootOutputPath,
Table table,
HashMap<String,Object> data)
生成 Mapper 接口文件
|
void |
MyBatisGenerator.generateMapperXml(Path rootOutputPath,
Table table,
HashMap<String,Object> data)
生成 Mapper XML文件
|
void |
MyBatisGenerator.generateServiceImplInterface(Path rootOutputPath,
Table table,
HashMap<String,Object> data)
生成 Service 实现类文件
|
void |
MyBatisGenerator.generateServiceInterface(Path rootOutputPath,
Table table,
HashMap<String,Object> data)
生成 Service 接口文件
|
void |
MyBatisGenerator.generateWeb(Path rootOutputPath,
Table table,
HashMap<String,Object> data)
生成 Web Controller 文件
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExtendedFile.generateFile(TemplateEngine templateEngine,
Path rootOutputPath,
Table table,
Map<String,Object> data)
生成自定义文件
|
| Modifier and Type | Method and Description |
|---|---|
Table |
Table.addIndexColumn(IndexInfo indexInfo)
增加索引字段
|
Table |
Table.addPrimaryKeyColumn(String columnName)
增加主键字段
|
| Modifier and Type | Method and Description |
|---|---|
default String |
DatabaseDialect.getEscapedColumnName(Table table,
Column column)
Gets the escaped column name.
|
Copyright © 2018–2020 Pivotal Software, Inc.. All rights reserved.