日期 版本 作者 说明
2022-2-26 V-1.0 孔留锋 文档创建。

概要

简介

​ 基于RuoYi-Vue 3.8.1,把原因包名称改成符合项目所需包名。

整改

项目POM文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<groupId>com.zzsn</groupId>
<artifactId>single</artifactId>
<version>3.8.1</version>

<name>single</name>
<description> 基于ruoyi -单一架构改造 </description>

<dependencies>
<!-- 通用工具-->
<dependency>
<groupId>com.zzsn</groupId>
<artifactId>common</artifactId>
<version>${single.version}</version>
</dependency>
<!-- 定时任务-->
<dependency>
<groupId>com.zzsn</groupId>
<artifactId>quartz</artifactId>
<version>${single.version}</version>
</dependency>

<!-- 代码生成-->
<dependency>
<groupId>com.zzsn</groupId>
<artifactId>generator</artifactId>
<version>${single.version}</version>
</dependency>

<!-- 核心模块-->
<dependency>
<groupId>com.zzsn</groupId>
<artifactId>framework</artifactId>
<version>${single.version}</version>
</dependency>

<!-- 系统模块-->
<dependency>
<groupId>com.zzsn</groupId>
<artifactId>system</artifactId>
<version>${single.version}</version>
</dependency>
</dependencies>
<modules>
<module>common</module>
<module>admin</module>
<module>framework</module>
<module>system</module>
<module>quartz</module>
<module>generator</module>
</modules>

ruoyi-common POM文件

1
2
3
4
5
6
7
8
9
10
11
<parent>
<groupId>com.zzsn</groupId>
<artifactId>single</artifactId>
<version>3.8.1</version>
</parent>

<artifactId>common</artifactId>

<description>
common通用工具
</description>

ruoyi-system POM文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<parent>
<groupId>com.zzsn</groupId>
<artifactId>single</artifactId>
<version>3.8.1</version>
</parent>

<artifactId>system</artifactId>

<description>
system系统模块
</description>

<dependencies>
<!-- 系统模块-->
<dependency>
<groupId>com.zzsn</groupId>
<artifactId>common</artifactId>
</dependency>
</dependencies>

ruoyi-framework POM文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<parent>
<groupId>com.zzsn</groupId>
<artifactId>single</artifactId>
<version>3.8.1</version>
</parent>

<artifactId>framework</artifactId>

<description>
framework框架核心
</description>

<dependencies>
<!-- 系统模块-->
<dependency>
<groupId>com.zzsn</groupId>
<artifactId>system</artifactId>
</dependency>
</dependencies>

ruoyi-quartz POM文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<parent>
<groupId>com.zzsn</groupId>
<artifactId>single</artifactId>
<version>3.8.1</version>
</parent>

<artifactId>quartz</artifactId>

<description>
quartz定时任务
</description>

<dependencies>
<!-- 系统模块-->
<dependency>
<groupId>com.zzsn</groupId>
<artifactId>common</artifactId>
</dependency>
</dependencies>

ruoyi-generatorPOM文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<parent>
<groupId>com.zzsn</groupId>
<artifactId>single</artifactId>
<version>3.8.1</version>
</parent>

<artifactId>generator</artifactId>

<description>
generator代码生成
</description>

<dependencies>
<!-- 系统模块-->
<dependency>
<groupId>com.zzsn</groupId>
<artifactId>common</artifactId>
</dependency>
</dependencies>

ruoyi-admin文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<parent>
<groupId>com.zzsn</groupId>
<artifactId>single</artifactId>
<version>3.8.1</version>
</parent>

<artifactId>admin</artifactId>

<description>
web服务入口
</description>

<dependencies>
<!-- 核心模块-->
<dependency>
<groupId>com.zzsn</groupId>
<artifactId>framework</artifactId>
</dependency>

<!-- 定时任务-->
<dependency>
<groupId>com.zzsn</groupId>
<artifactId>quartz</artifactId>
</dependency>

<!-- 代码生成-->
<dependency>
<groupId>com.zzsn</groupId>
<artifactId>generator</artifactId>
</dependency>
</dependencies>

模块名称修改

  • ruoyi-common 修改为 commo
  • ruoyi-system 修改为 system
  • ruoyi-framework 修改为 framework
  • ruoyi-quartz 修改为 quartz
  • ruoyi-generator 修改为 generator
  • ruoyi-admin 修改为 admin

包名称修改

  • com.ruoyi 修改 为 com.zzsn

application.yml文件

  • ruoyi-admin 下 application.yml 下 mybatis.typeAliasesPackage 修改 com.zzsn.**.domain

重新编译

  • 删除IDEA索引
  • Maven重新编译