右键总文件夹,选择新模块添加新模块
新建的业务模块
新建的业务模块中添加若依通用模块工具
<dependencies>
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-common</artifactId>
</dependency>
</dependencies>
在根目录pom.xml依赖声明节点dependencies中添加依赖,并且添加模块
<!-- 业务模块 -->
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-business</artifactId>
<version>${ruoyi.version}</version>
</dependency>
<module>ruoyi-business</module>
ruoyi-admin模块添加业务模块
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-business</artifactId>
</dependency>