diff --git a/README.md b/README.md
index 67f4a4d3f..b7169d7b2 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
-RuoYi v3.6.4
+RuoYi v3.6.5
基于 Vue/Element UI 和 Spring Boot/Spring Cloud & Alibaba 前后端分离的分布式微服务架构
-
+
@@ -17,12 +17,9 @@
* 后端采用Spring Boot、Spring Cloud & Alibaba。
* 注册中心、配置中心选型Nacos,权限认证使用Redis。
* 流量控制框架选型Sentinel,分布式事务选型Seata。
-* 提供了技术栈([Vue3](https://v3.cn.vuejs.org) [Element Plus](https://element-plus.org/zh-CN) [Vite](https://cn.vitejs.dev))版本[RuoYi-Cloud-Vue3](https://github.com/yangzongzhuan/RuoYi-Cloud-Vue3),保持同步更新。
+* 提供了技术栈([Vue3](https://v3.cn.vuejs.org) [Element Plus](https://element-plus.org/zh-CN) [Vite](https://cn.vitejs.dev))版本[RuoYi-Cloud-Vue3](https://gitcode.com/yangzongzhuan/RuoYi-Cloud-Vue3),保持同步更新。
* 如需不分离应用,请移步 [RuoYi](https://gitee.com/y_project/RuoYi),如需分离应用,请移步 [RuoYi-Vue](https://gitee.com/y_project/RuoYi-Vue)
-* 阿里云折扣场:[点我进入](http://aly.ruoyi.vip),腾讯云秒杀场:[点我进入](http://txy.ruoyi.vip)
-* 阿里云优惠券:[点我领取](https://www.aliyun.com/minisite/goods?userCode=brki8iof&share_source=copy_link),腾讯云优惠券:[点我领取](https://cloud.tencent.com/redirect.php?redirect=1025&cps_key=198c8df2ed259157187173bc7f4f32fd&from=console)
-
-#### 友情链接 [若依/RuoYi-Cloud](https://gitee.com/zhangmrit/ruoyi-cloud) Ant Design版本。
+* 阿里云优惠券:[点我进入](http://aly.ruoyi.vip),腾讯云优惠券:[点我进入](http://txy.ruoyi.vip)
## 系统模块
@@ -41,6 +38,7 @@ com.ruoyi
│ └── ruoyi-common-redis // 缓存服务
│ └── ruoyi-common-seata // 分布式事务
│ └── ruoyi-common-security // 安全模块
+│ └── ruoyi-common-sensitive // 数据脱敏
│ └── ruoyi-common-swagger // 系统接口
├── ruoyi-modules // 业务模块
│ └── ruoyi-system // 系统模块 [9201]
diff --git a/pom.xml b/pom.xml
index 0dd30ccbf..4ebfd012c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,38 +6,39 @@
com.ruoyi
ruoyi
- 3.6.41.0.4
+ 3.6.5
ruoyi
http://www.ruoyi.vip
若依微服务系统
- UTF-8
- 11
- 11
- 3.6.41.0.4
+ 3.6.5
UTF-8
UTF-8
1.8
2.7.18
- 2021.0.8
- 2021.0.5.0
- 5.3.33
- 2.7.15
+ 2021.0.9
+ 2021.0.6.1
+ 2.7.16
1.27.2
2.3.3
2.0.0
1.2.23
- 4.2.0
+ 4.3.1
2.13.0
2.3
- 2.0.43
+ 2.0.53
0.9.1
8.2.2
4.1.2
1.6.9
2.14.4
+
+
+ 9.0.96
+ 1.2.13
+ 5.3.39
2.0.0
@@ -45,7 +46,7 @@
-
+
org.springframework
spring-framework-bom
@@ -81,6 +82,38 @@
import
+
+
+ ch.qos.logback
+ logback-core
+ ${logback.version}
+
+
+
+ ch.qos.logback
+ logback-classic
+ ${logback.version}
+
+
+
+
+ org.apache.tomcat.embed
+ tomcat-embed-core
+ ${tomcat.version}
+
+
+
+ org.apache.tomcat.embed
+ tomcat-embed-el
+ ${tomcat.version}
+
+
+
+ org.apache.tomcat.embed
+ tomcat-embed-websocket
+ ${tomcat.version}
+
+
com.github.tobato
diff --git a/ruoyi-api/pom.xml b/ruoyi-api/pom.xml
index 9fc0567e8..d60796c12 100644
--- a/ruoyi-api/pom.xml
+++ b/ruoyi-api/pom.xml
@@ -4,7 +4,7 @@
com.ruoyi
ruoyi
- 3.6.41.0.4
+ 3.6.5
4.0.0
diff --git a/ruoyi-api/ruoyi-api-system/pom.xml b/ruoyi-api/ruoyi-api-system/pom.xml
index 5a4d27509..b9e91238e 100644
--- a/ruoyi-api/ruoyi-api-system/pom.xml
+++ b/ruoyi-api/ruoyi-api-system/pom.xml
@@ -5,7 +5,7 @@
com.ruoyi
ruoyi-api
- 3.6.41.0.4
+ 3.6.5
4.0.0
diff --git a/ruoyi-auth/pom.xml b/ruoyi-auth/pom.xml
index ed433c51c..912b1c8ed 100644
--- a/ruoyi-auth/pom.xml
+++ b/ruoyi-auth/pom.xml
@@ -4,7 +4,7 @@
com.ruoyi
ruoyi
- 3.6.41.0.4
+ 3.6.5
4.0.0
diff --git a/ruoyi-common/pom.xml b/ruoyi-common/pom.xml
index eea9b7a07..5ce394cbf 100644
--- a/ruoyi-common/pom.xml
+++ b/ruoyi-common/pom.xml
@@ -4,7 +4,7 @@
com.ruoyi
ruoyi
- 3.6.41.0.4
+ 3.6.5
4.0.0
diff --git a/ruoyi-common/ruoyi-common-core/pom.xml b/ruoyi-common/ruoyi-common-core/pom.xml
index 5291cf87f..811b69c6c 100644
--- a/ruoyi-common/ruoyi-common-core/pom.xml
+++ b/ruoyi-common/ruoyi-common-core/pom.xml
@@ -5,7 +5,7 @@
com.ruoyi
ruoyi-common
- 3.6.41.0.4
+ 3.6.5
4.0.0
diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/poi/ExcelUtil.java b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/poi/ExcelUtil.java
index f182fd38f..a63cc0690 100644
--- a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/poi/ExcelUtil.java
+++ b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/poi/ExcelUtil.java
@@ -167,6 +167,11 @@ public class ExcelUtil
*/
public Class clazz;
+ /**
+ * 需要显示列属性
+ */
+ public String[] includeFields;
+
/**
* 需要排除列属性
*/
@@ -177,11 +182,20 @@ public class ExcelUtil
this.clazz = clazz;
}
+ /**
+ * 仅在Excel中显示列属性
+ *
+ * @param fields 列属性名 示例[单个"name"/多个"id","name"]
+ */
+ public void showColumn(String... fields)
+ {
+ this.includeFields = fields;
+ }
+
/**
* 隐藏Excel中列属性
*
* @param fields 列属性名 示例[单个"name"/多个"id","name"]
- * @throws Exception
*/
public void hideColumn(String... fields)
{
@@ -1280,46 +1294,86 @@ public class ExcelUtil
List tempFields = new ArrayList<>();
tempFields.addAll(Arrays.asList(clazz.getSuperclass().getDeclaredFields()));
tempFields.addAll(Arrays.asList(clazz.getDeclaredFields()));
- for (Field field : tempFields)
+ if (StringUtils.isNotEmpty(includeFields))
{
- if (!ArrayUtils.contains(this.excludeFields, field.getName()))
+ for (Field field : tempFields)
{
- // 单注解
- if (field.isAnnotationPresent(Excel.class))
+ if (ArrayUtils.contains(this.includeFields, field.getName()) || field.isAnnotationPresent(Excels.class))
{
- Excel attr = field.getAnnotation(Excel.class);
- if (attr != null && (attr.type() == Type.ALL || attr.type() == type))
+ addField(fields, field);
+ }
+ }
+ }
+ else if (StringUtils.isNotEmpty(excludeFields))
+ {
+ for (Field field : tempFields)
+ {
+ if (!ArrayUtils.contains(this.excludeFields, field.getName()))
+ {
+ addField(fields, field);
+ }
+ }
+ }
+ else
+ {
+ for (Field field : tempFields)
+ {
+ addField(fields, field);
+ }
+ }
+ return fields;
+ }
+
+ /**
+ * 添加字段信息
+ */
+ public void addField(List
-
+
org.springframework.boot
spring-boot-starter-web
-
+
com.github.tobato
@@ -66,12 +66,6 @@
ruoyi-api-system
-
-
- com.ruoyi
- ruoyi-common-swagger
-
-
diff --git a/ruoyi-modules/ruoyi-gen/pom.xml b/ruoyi-modules/ruoyi-gen/pom.xml
index 1a3611f64..c6c0bf4f4 100644
--- a/ruoyi-modules/ruoyi-gen/pom.xml
+++ b/ruoyi-modules/ruoyi-gen/pom.xml
@@ -5,7 +5,7 @@
com.ruoyi
ruoyi-modules
- 3.6.41.0.4
+ 3.6.5
4.0.0
diff --git a/ruoyi-modules/ruoyi-job/pom.xml b/ruoyi-modules/ruoyi-job/pom.xml
index 30f2a1b59..a6f1a1b79 100644
--- a/ruoyi-modules/ruoyi-job/pom.xml
+++ b/ruoyi-modules/ruoyi-job/pom.xml
@@ -5,7 +5,7 @@
com.ruoyi
ruoyi-modules
- 3.6.41.0.4
+ 3.6.5
4.0.0
@@ -40,7 +40,7 @@
org.springframework.boot
spring-boot-starter-actuator
-
+
org.quartz-scheduler
diff --git a/ruoyi-modules/ruoyi-system/pom.xml b/ruoyi-modules/ruoyi-system/pom.xml
index ebdd47c03..d4bffdc6b 100644
--- a/ruoyi-modules/ruoyi-system/pom.xml
+++ b/ruoyi-modules/ruoyi-system/pom.xml
@@ -5,7 +5,7 @@
com.ruoyi
ruoyi-modules
- 3.6.41.0.4
+ 3.6.5
4.0.0
@@ -40,7 +40,7 @@
org.springframework.boot
spring-boot-starter-actuator
-
+
com.mysql
diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json
index a7dc22f4b..afcba4909 100644
--- a/ruoyi-ui/package.json
+++ b/ruoyi-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "ruoyi",
- "version": "3.6.4",
+ "version": "3.6.5",
"description": "若依管理系统",
"author": "若依",
"license": "MIT",
diff --git a/ruoyi-ui/src/views/index.vue b/ruoyi-ui/src/views/index.vue
index 23c2c6040..8038d09f5 100644
--- a/ruoyi-ui/src/views/index.vue
+++ b/ruoyi-ui/src/views/index.vue
@@ -145,6 +145,38 @@
更新日志
+
+
+ - 使用SpringDoc代替Swagger
+ - 菜单管理新增路由名称
+ - 新增数据脱敏过滤注解
+ - 限制用户操作数据权限范围
+ - 支持自定义显示Excel属性列
+ - 操作日志记录DELETE请求参数
+ - 用户登录后记录最后登录IP&时间
+ - 升级druid到最新版本1.2.23
+ - 升级fastjson到最新版2.0.53
+ - 升级dynamic-ds到最新版本4.3.1
+ - 升级spring-cloud到最新版2021.0.9
+ - 升级spring-boot-admin到最新版2.7.16
+ - 升级spring-cloud-alibaba到最新版2021.0.6.1
+ - 升级quill到最新版本2.0.2
+ - 升级axios到最新版本0.28.1
+ - 升级core-js到最新版本3.37.1
+ - 升级其他依赖到安全版本,防止漏洞风险
+ - 修复角色禁用权限不失效问题
+ - 优化身份证脱敏正则
+ - 优化权限更新后同步缓存
+ - 优化查询时间范围日期格式
+ - 优化代码生成上级菜单字段类型
+ - 优化无用户编号不校验数据权限
+ - 优化代码生成主子表关联查询方式
+ - 优化校检文件名是否包含特殊字符
+ - 优化查表特殊字符使用反斜杠进行转义
+ - 优化多个自定数据权限使用in查询,避免多次拼接
+ - 其他细节优化
+
+
- 全局数据存储用户编号
@@ -914,7 +946,7 @@ export default {
data() {
return {
// 版本号
- version: "3.6.41.0.4",
+ version: "3.6.5",
};
},
methods: {
diff --git a/ruoyi-visual/pom.xml b/ruoyi-visual/pom.xml
index a3088b91a..a927b0d95 100644
--- a/ruoyi-visual/pom.xml
+++ b/ruoyi-visual/pom.xml
@@ -4,7 +4,7 @@
com.ruoyi
ruoyi
- 3.6.41.0.4
+ 3.6.5
4.0.0
diff --git a/ruoyi-visual/ruoyi-monitor/pom.xml b/ruoyi-visual/ruoyi-monitor/pom.xml
index da6d7ca3a..22cbead5a 100644
--- a/ruoyi-visual/ruoyi-monitor/pom.xml
+++ b/ruoyi-visual/ruoyi-monitor/pom.xml
@@ -4,7 +4,7 @@
com.ruoyi
ruoyi-visual
- 3.6.41.0.4
+ 3.6.5
4.0.0