代码生成列表和表单
最后更新于:2022-04-02 07:23:20
## 代码生成APP列表和表单页面
> 需要手工创建表
* app模板位置
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/0e/ad/0ead105140de76bef007fb19184f1f77_550x417.png)
* 代码生成到的目录配置
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/b7/4a/b74ade9475b02cc75f95543d3e20d6c9_1285x472.png)
* 使用单表GUI代码生成工具
1. 找到jeecg-boot-module-system/src/main/java/org/jeecg/JeecgOneGUI.java,位置如下图所示
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/71/7f/717fbdc8c3b000979a0658fdfb76e6a9_1213x446.png)
2. 右击,运行
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/1a/fb/1afb4b5975ec476e48a3aa54a4131847_1217x574.png)
3. 会出现下图所示工具,根据提示填写表信息,然后点击’生成‘
![输入图片说明](https://static.oschina.net/uploads/img/201904/14222638_Svth.png "在这里输入图片标题")
4. 代码会生成到你指定的目录下
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/a6/da/a6da7d87bc1e652fe5b798f286a09fe7_511x569.png)
5. 将这两个文件复制到前端开发项目中即可
';