-
Notifications
You must be signed in to change notification settings - Fork 635
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# 代码生成器 | ||
* IDEA Settings --> Plugins --> Install plugin from disk --> wk-code-ideaplugin.jar | ||
* 创建实体类,必须有@Table,若字段需生成到模板页面则需加 @Comment 字段备注(注意命名规范和大小写) | ||
* 编译wk-web项目,使其打包发布至 target/ 目录(让代码生成器可读取到class文件) | ||
* 编译wk-web项目,使其打包发布至 target/ 目录(目的是让代码生成器可读取到class文件) | ||
* 在实体类里鼠标右击,Code(Alt+Insert/Mouse Right) --> Generate --> wk mvc | ||
|
||
![IDEA插件截图](../images/09.png) |