Skip to content

Commit

Permalink
修改文档
Browse files Browse the repository at this point in the history
  • Loading branch information
mars05 committed May 26, 2019
1 parent e936614 commit 00d3412
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,36 @@ Crud Intellij Plugin
- 从Crud Plugin 生成项目
- 已有项目右键选择生成代码

### 注意:
1. 目前暂不支持字段类型的映射关系设置
2. 目前暂不支持表之间的对应关系处理
3. 为表和字段设置合适的注释。
4. 建议根据《阿里巴巴Java开发手册》的MySQL数据库规约来设计数据库表

### 支持的环境
环境 | 版本
---|---
Java | 1.8以上
Intellij Idea | 2017.3以上

## 插件安装
#### 旧版本idea:
- <kbd>File</kbd> > <kbd>Settings</kbd> > <kbd>Plugins</kbd> > <kbd>Browse repositories...</kbd> > <kbd>Search for "crud"</kbd> > <kbd>Install Plugin</kbd>

![image](https://raw.githubusercontent.com/mars05/static/master/image/crud1.jpg)
#### 新版本idea:
- <kbd>File</kbd> > <kbd>Settings</kbd> > <kbd>Plugins</kbd> > <kbd>Marketplace</kbd> > <kbd>Search for "crud"</kbd> > <kbd>Install Plugin</kbd>

![image](https://raw.githubusercontent.com/mars05/static/master/image/crud2.jpg)
## 使用教程

### 1.创建一个新的项目:
- <kbd>New</kbd> > <kbd>Project</kbd> / <kbd>Module</kbd> > <kbd>Crud</kbd> > <kbd>数据库表选择</kbd>
- 启动Application
- 可使用Swagger测试请求: http://localhost:8080/swagger-ui.html

![image](https://raw.githubusercontent.com/mars05/static/master/image/crud3.gif)

### 2.项目右键单击生成代码:

![image](https://raw.githubusercontent.com/mars05/static/master/image/crud4.gif)

0 comments on commit 00d3412

Please sign in to comment.