From 7f01afc183c033d60dba8788a30e4ac24c85ee50 Mon Sep 17 00:00:00 2001 From: "zangch@mesnac.com" Date: Thu, 26 Mar 2026 18:47:27 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=96=B0=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E9=85=8D=E7=BD=AE=E5=92=8C=E4=BE=9D=E8=B5=96=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改作者信息为zch - 更新代码生成器的默认包路径 - 移除MySQL依赖并添加SQL Server依赖 - 清理注释掉的依赖配置 --- ruoyi-admin/pom.xml | 60 +++++++++---------- .../src/main/resources/application.yml | 2 +- ruoyi-modules/ruoyi-generator/pom.xml | 17 ++++-- .../src/main/resources/generator.yml | 4 +- 4 files changed, 45 insertions(+), 38 deletions(-) diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml index 737d1d9..bd61604 100644 --- a/ruoyi-admin/pom.xml +++ b/ruoyi-admin/pom.xml @@ -18,27 +18,27 @@ - - - - + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + com.microsoft.sqlserver @@ -111,16 +111,16 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index daccf58..d0c8068 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -192,7 +192,7 @@ springdoc: version: '版本号: ${project.version}' # 作者信息 contact: - name: Lion Li + name: zch email: crazylionli@163.com url: https://gitee.com/dromara/RuoYi-Vue-Plus #这里定义了两个分组,可定义多个,也可以不定义 diff --git a/ruoyi-modules/ruoyi-generator/pom.xml b/ruoyi-modules/ruoyi-generator/pom.xml index b93b837..6458449 100644 --- a/ruoyi-modules/ruoyi-generator/pom.xml +++ b/ruoyi-modules/ruoyi-generator/pom.xml @@ -59,11 +59,11 @@ ${anyline.version} - - org.anyline - anyline-data-jdbc-mysql - ${anyline.version} - + + + + + @@ -84,6 +84,13 @@ + + + org.anyline + anyline-data-jdbc-mssql + ${anyline.version} + + diff --git a/ruoyi-modules/ruoyi-generator/src/main/resources/generator.yml b/ruoyi-modules/ruoyi-generator/src/main/resources/generator.yml index d779d97..980347b 100644 --- a/ruoyi-modules/ruoyi-generator/src/main/resources/generator.yml +++ b/ruoyi-modules/ruoyi-generator/src/main/resources/generator.yml @@ -1,9 +1,9 @@ # 代码生成 gen: # 作者 - author: Lion Li + author: zch # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool - packageName: org.dromara.system + packageName: org.dromara.ems.base # 自动去除表前缀,默认是false autoRemovePre: false # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)