当前位置:网站首页>If the detailed explanation is generated according to the frame code
If the detailed explanation is generated according to the frame code
2022-07-27 03:36:00 【Fisherman Abu】
List of articles
1. According to the project deployment and local operation
Please see this article for the detailed process
https://blog.csdn.net/yu_fu_a_bu/article/details/125901873
2. Add a new school management directory

refresh 
3. Modify the configuration

4. Create data tables
If there is a requirement according to the construction table : Table field and surface , All need to be annotated , Comments are the display content of the generated page

5. Create a new one Model

6. Configuration project depends on
①: stay RuoYi Under the whole project pom.xml Introduce the newly created module

<!-- Teacher module -->
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-teacher</artifactId>
<version>${ruoyi.version}</version>
</dependency>
②: stay ruoyi-admin Of this module pom.xml Introduce the newly created module

<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-teacher</artifactId>
</dependency>
③: Because the automatically generated code will use ruoyi-common The content in , We need to ruoyi-common Introduced into our new module
<dependencies>
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-common</artifactId>
</dependency>
</dependencies>
7. The structure of the import table

Click... After importing [ edit ] ,[ Generate information ] : It is suggested to write the name of the generation module differently from the name of the generation business , Otherwise, you may encounter problems later 
Click generate code
Compress the file
8. Copy code
Direct will main Copied to the src below 

9. function SQL
There is a in the automatically generated compressed package SQL, This is used to generate menus , Go to the database and execute this SQL.

10. Restart project

Congratulations on completing !
边栏推荐
猜你喜欢

Explain详解

客户端发送一条sql如何与服务器交互

spark:计算不同分区中相同key的平均值(入门级-简单实现)

Yilingsi T35 FPGA drives LVDS display screen

Duplicate disc: what are the basic attributes of an image? What do you know about images? What are the parameters of the image

Deep learning vocabulary embedded, beam search

Graphic SQL, this is too vivid!

Code review pyramid

Introduction to database - a brief introduction to MySQL

图解用户登录验证流程,写得太好了!
随机推荐
MySQL的数据库有关操作
shell awk
[untitled] JDBC connection database read timeout
渗透测试-后渗透-痕迹清理
Explain tool actual operation
网络安全/渗透测试工具AWVS14.9下载/使用教程/安装教程
Win10/win11 lossless expansion of C disk space, cross disk consolidation of C and e disks
Volatile keyword and its function
智能体重秤方案主控采用CSU18M91
Banyan loan,
Banyan data model of Bairong
DTS搭载全新自研内核,突破两地三中心架构的关键技术|腾讯云数据库
将幕布文章OPML转换为Markdown的方法
Redis source code learning (33), command execution process
MySQL underlying data structure
【无标题】JDBC连接数据库读超时
Explain
Message rejected MQ
Duplicate disc: what are the basic attributes of an image? What do you know about images? What are the parameters of the image
索引最佳实践