diff --git a/.gitee/ISSUE_TEMPLATE.zh-CN.md b/.gitee/ISSUE_TEMPLATE.zh-CN.md index 22cb51d52..b6fcbea86 100644 --- a/.gitee/ISSUE_TEMPLATE.zh-CN.md +++ b/.gitee/ISSUE_TEMPLATE.zh-CN.md @@ -1,4 +1,4 @@ -### 使用版本 +### 使用版本(未按照模板填写直接删除) ### 问题描述 diff --git a/README.md b/README.md index d6a2409a5..203a03dbc 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ [![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://gitee.com/JavaLionLi/RuoYi-Vue-Plus/blob/master/LICENSE) [![使用IntelliJ IDEA开发维护](https://img.shields.io/badge/IntelliJ%20IDEA-提供支持-blue.svg)](https://www.jetbrains.com/?from=RuoYi-Vue-Plus)
-[![RuoYi-Vue-Plus](https://img.shields.io/badge/RuoYi_Vue_Plus-4.0.1-success.svg)](https://gitee.com/JavaLionLi/RuoYi-Vue-Plus) -[![Spring Boot](https://img.shields.io/badge/Spring%20Boot-2.5-blue.svg)]() +[![RuoYi-Vue-Plus](https://img.shields.io/badge/RuoYi_Vue_Plus-4.1.0-success.svg)](https://gitee.com/JavaLionLi/RuoYi-Vue-Plus) +[![Spring Boot](https://img.shields.io/badge/Spring%20Boot-2.6-blue.svg)]() [![JDK-8+](https://img.shields.io/badge/JDK-8-green.svg)]() [![JDK-11](https://img.shields.io/badge/JDK-11-green.svg)]() @@ -25,6 +25,9 @@ | 容器框架 | Undertow | [Undertow官网](https://undertow.io/) | 基于 XNIO 的高性能容器 | | 权限认证框架 | Sa-Token、Jwt | [Sa-Token官网](https://sa-token.dev33.cn/) | 强解耦、强扩展 | | 关系数据库 | MySQL | [MySQL官网](https://dev.mysql.com/) | 适配 8.X 最低 5.7 | +| 关系数据库 | Oracle | [Oracle官网](https://www.oracle.com/cn/database/) | 适配 11g 12c | +| 关系数据库 | PostgreSQL | [PostgreSQL官网](https://www.postgresql.org/) | 适配 13 14 | +| 关系数据库 | SQLServer | [SQLServer官网](https://docs.microsoft.com/zh-cn/sql/sql-server) | 适配 2017 2019 | | 缓存数据库 | Redis | [Redis官网](https://redis.io/) | 适配 6.X 最低 4.X | | 数据库框架 | Mybatis-Plus | [Mybatis-Plus文档](https://baomidou.com/guide/) | 快速 CRUD 增加开发效率 | | 数据库框架 | p6spy | [p6spy官网](https://p6spy.readthedocs.io/) | 更强劲的 SQL 分析 | diff --git a/pom.xml b/pom.xml index c1f33b1ae..0ea4c098d 100644 --- a/pom.xml +++ b/pom.xml @@ -6,46 +6,49 @@ com.ruoyi ruoyi-vue-plus - 4.0.1 + 4.1.0 RuoYi-Vue-Plus https://gitee.com/JavaLionLi/RuoYi-Vue-Plus RuoYi-Vue-Plus后台管理系统 - 4.0.1 - 2.6.4 + 4.1.0 + 2.6.7 UTF-8 UTF-8 1.8 3.2.2 + 2.2.0 1.2.8 3.0.3 1.5.22 4.1.2 + 1.21 3.0.5 - 3.3.0 2.3 1.29.0 3.5.1 3.9.1 - 5.7.21 - 4.9.2 - 2.6.2 - 3.16.8 + 5.7.22 + 4.9.3 + 2.6.6 + 3.17.0 2.2.1 - 3.5.0 + 3.5.1 1.3.6 2.3.0 3.0.1 + + 30.0-jre - 7.9.3 + 7.9.5 3.14.0 - 5.6.68 - 8.3.7 + 5.6.72 + 8.3.8 localhost @@ -109,6 +112,13 @@ ${poi.version} + + + org.apache.commons + commons-compress + ${commons-compress.version} + + com.alibaba easyexcel @@ -125,12 +135,6 @@ - - cglib - cglib - ${cglib.version} - - org.apache.velocity @@ -222,6 +226,20 @@ com.yomahub tlog-web-spring-boot-starter ${tlog.version} + + + log4j + log4j + + + dom4j + dom4j + + + commons-beanutils + commons-beanutils + + diff --git a/ruoyi-extend/pom.xml b/ruoyi-extend/pom.xml index 3b80b15ca..5e3725e57 100644 --- a/ruoyi-extend/pom.xml +++ b/ruoyi-extend/pom.xml @@ -5,7 +5,7 @@ ruoyi-vue-plus com.ruoyi - 4.0.1 + 4.1.0 4.0.0 ruoyi-extend diff --git a/ruoyi-extend/ruoyi-monitor-admin/pom.xml b/ruoyi-extend/ruoyi-monitor-admin/pom.xml index e811fd3be..8fed38aad 100644 --- a/ruoyi-extend/ruoyi-monitor-admin/pom.xml +++ b/ruoyi-extend/ruoyi-monitor-admin/pom.xml @@ -5,7 +5,7 @@ ruoyi-extend com.ruoyi - 4.0.1 + 4.1.0 4.0.0 jar diff --git a/ruoyi-extend/ruoyi-xxl-job-admin/pom.xml b/ruoyi-extend/ruoyi-xxl-job-admin/pom.xml index 65125b905..d61f79dc5 100644 --- a/ruoyi-extend/ruoyi-xxl-job-admin/pom.xml +++ b/ruoyi-extend/ruoyi-xxl-job-admin/pom.xml @@ -4,14 +4,12 @@ ruoyi-extend com.ruoyi - 4.0.1 + 4.1.0 ruoyi-xxl-job-admin jar - 2.1.4 - 8.0.23 @@ -62,13 +60,12 @@ org.mybatis.spring.boot mybatis-spring-boot-starter - ${mybatis-spring-boot-starter.version} + ${spring-boot.mybatis} mysql mysql-connector-java - ${mysql-connector-java.version} diff --git a/ruoyi-ui/README.md b/ruoyi-ui/README.md index a857617b6..00c0ab84f 100644 --- a/ruoyi-ui/README.md +++ b/ruoyi-ui/README.md @@ -11,7 +11,7 @@ cd ruoyi-ui npm install # 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 -npm install --registry=https://registry.npm.taobao.org +npm install --registry=https://registry.npmmirror.com # 启动服务 npm run dev diff --git a/ruoyi-ui/bin/package.bat b/ruoyi-ui/bin/package.bat index 82817497e..9f6e5f4db 100644 --- a/ruoyi-ui/bin/package.bat +++ b/ruoyi-ui/bin/package.bat @@ -1,12 +1,12 @@ @echo off echo. -echo [Ϣ] װWeḅnode_modulesļ +echo [��Ϣ] ��װWeb���̣�����node_modules�ļ��� echo. %~d0 cd %~dp0 cd .. -npm install --registry=https://registry.npm.taobao.org +npm install --registry=https://registry.npmmirror.com -pause \ No newline at end of file +pause diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json index 8b36c0255..c7f0b7334 100644 --- a/ruoyi-ui/package.json +++ b/ruoyi-ui/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi-vue-plus", - "version": "4.0.1", + "version": "4.1.0", "description": "RuoYi-Vue-Plus后台管理系统", "author": "LionLi", "license": "MIT", @@ -41,13 +41,13 @@ "clipboard": "2.0.8", "core-js": "3.19.1", "echarts": "4.9.0", - "element-ui": "2.15.6", + "element-ui": "2.15.8", "file-saver": "2.0.5", "fuse.js": "6.4.3", "highlight.js": "9.18.5", "js-beautify": "1.13.0", "js-cookie": "3.0.1", - "jsencrypt": "3.2.1", + "jsencrypt": "3.0.0-rc.1", "nprogress": "0.2.0", "quill": "1.3.7", "screenfull": "5.0.2", diff --git a/ruoyi-ui/src/api/tool/gen.js b/ruoyi-ui/src/api/tool/gen.js index 45069278f..65ddfea4d 100644 --- a/ruoyi-ui/src/api/tool/gen.js +++ b/ruoyi-ui/src/api/tool/gen.js @@ -3,14 +3,17 @@ import request from '@/utils/request' // 查询生成表数据 export function listTable(query) { return request({ + headers: { 'datasource': localStorage.getItem("dataName") }, url: '/tool/gen/list', method: 'get', params: query }) } + // 查询db数据库列表 export function listDbTable(query) { return request({ + headers: { 'datasource': localStorage.getItem("dataName") }, url: '/tool/gen/db/list', method: 'get', params: query @@ -20,6 +23,7 @@ export function listDbTable(query) { // 查询表详细信息 export function getGenTable(tableId) { return request({ + headers: { 'datasource': localStorage.getItem("dataName") }, url: '/tool/gen/' + tableId, method: 'get' }) @@ -28,6 +32,7 @@ export function getGenTable(tableId) { // 修改代码生成信息 export function updateGenTable(data) { return request({ + headers: { 'datasource': localStorage.getItem("dataName") }, url: '/tool/gen', method: 'put', data: data @@ -37,6 +42,7 @@ export function updateGenTable(data) { // 导入表 export function importTable(data) { return request({ + headers: { 'datasource': localStorage.getItem("dataName") }, url: '/tool/gen/importTable', method: 'post', params: data @@ -46,6 +52,7 @@ export function importTable(data) { // 预览生成代码 export function previewTable(tableId) { return request({ + headers: { 'datasource': localStorage.getItem("dataName") }, url: '/tool/gen/preview/' + tableId, method: 'get' }) @@ -54,6 +61,7 @@ export function previewTable(tableId) { // 删除表数据 export function delTable(tableId) { return request({ + headers: { 'datasource': localStorage.getItem("dataName") }, url: '/tool/gen/' + tableId, method: 'delete' }) @@ -62,6 +70,7 @@ export function delTable(tableId) { // 生成代码(自定义路径) export function genCode(tableName) { return request({ + headers: { 'datasource': localStorage.getItem("dataName") }, url: '/tool/gen/genCode/' + tableName, method: 'get' }) @@ -70,6 +79,7 @@ export function genCode(tableName) { // 同步数据库 export function synchDb(tableName) { return request({ + headers: { 'datasource': localStorage.getItem("dataName") }, url: '/tool/gen/synchDb/' + tableName, method: 'get' }) diff --git a/ruoyi-ui/src/assets/styles/sidebar.scss b/ruoyi-ui/src/assets/styles/sidebar.scss index d2a7453f3..ed308b8dc 100644 --- a/ruoyi-ui/src/assets/styles/sidebar.scss +++ b/ruoyi-ui/src/assets/styles/sidebar.scss @@ -7,6 +7,10 @@ position: relative; } + .sidebarHide { + margin-left: 0!important; + } + .sidebar-container { -webkit-transition: width .28s; transition: width 0.28s; diff --git a/ruoyi-ui/src/components/FileUpload/index.vue b/ruoyi-ui/src/components/FileUpload/index.vue index 5f1e23652..78baf48dd 100644 --- a/ruoyi-ui/src/components/FileUpload/index.vue +++ b/ruoyi-ui/src/components/FileUpload/index.vue @@ -41,6 +41,7 @@ diff --git a/ruoyi-ui/src/components/ImageUpload/index.vue b/ruoyi-ui/src/components/ImageUpload/index.vue index 11573dd88..acd467011 100644 --- a/ruoyi-ui/src/components/ImageUpload/index.vue +++ b/ruoyi-ui/src/components/ImageUpload/index.vue @@ -44,6 +44,7 @@ diff --git a/ruoyi-ui/src/components/TopNav/index.vue b/ruoyi-ui/src/components/TopNav/index.vue index dec1f7452..0cc24dba8 100644 --- a/ruoyi-ui/src/components/TopNav/index.vue +++ b/ruoyi-ui/src/components/TopNav/index.vue @@ -30,13 +30,14 @@