Commit 8665894603eebb3af57cf6c434525952d9506e3c

Authored by YunaiV
2 parents a3fc0730 af2a0c22

Merge branch 'master-jdk17' of https://gitee.com/zhijiantianya/ruoyi-vue-pro into feature/iot

@@ -40,6 +40,9 @@ @@ -40,6 +40,9 @@
40 <maven-surefire-plugin.version>3.2.2</maven-surefire-plugin.version> 40 <maven-surefire-plugin.version>3.2.2</maven-surefire-plugin.version>
41 <maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version> 41 <maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
42 <flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version> 42 <flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
  43 + <!-- maven-surefire-plugin 暂时无法通过 bom 的依赖读取(兼容老版本 IDEA 2024 及以前版本) -->
  44 + <lombok.version>1.18.38</lombok.version>
  45 + <spring.boot.version>3.4.5</spring.boot.version>
43 <mapstruct.version>1.6.3</mapstruct.version> 46 <mapstruct.version>1.6.3</mapstruct.version>
44 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 47 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
45 </properties> 48 </properties>
@@ -77,10 +80,12 @@ @@ -77,10 +80,12 @@
77 <path> 80 <path>
78 <groupId>org.springframework.boot</groupId> 81 <groupId>org.springframework.boot</groupId>
79 <artifactId>spring-boot-configuration-processor</artifactId> 82 <artifactId>spring-boot-configuration-processor</artifactId>
  83 + <version>${spring.boot.version}</version>
80 </path> 84 </path>
81 <path> 85 <path>
82 <groupId>org.projectlombok</groupId> 86 <groupId>org.projectlombok</groupId>
83 <artifactId>lombok</artifactId> 87 <artifactId>lombok</artifactId>
  88 + <version>${lombok.version}</version>
84 </path> 89 </path>
85 <path> 90 <path>
86 <groupId>org.mapstruct</groupId> 91 <groupId>org.mapstruct</groupId>
yudao-dependencies/pom.xml
@@ -50,7 +50,7 @@ @@ -50,7 +50,7 @@
50 <!-- 工具类相关 --> 50 <!-- 工具类相关 -->
51 <anji-plus-captcha.version>1.4.0</anji-plus-captcha.version> 51 <anji-plus-captcha.version>1.4.0</anji-plus-captcha.version>
52 <jsoup.version>1.18.3</jsoup.version> 52 <jsoup.version>1.18.3</jsoup.version>
53 - <lombok.version>1.18.36</lombok.version> 53 + <lombok.version>1.18.38</lombok.version>
54 <mapstruct.version>1.6.3</mapstruct.version> 54 <mapstruct.version>1.6.3</mapstruct.version>
55 <hutool-5.version>5.8.35</hutool-5.version> 55 <hutool-5.version>5.8.35</hutool-5.version>
56 <hutool-6.version>6.0.0-M19</hutool-6.version> 56 <hutool-6.version>6.0.0-M19</hutool-6.version>
yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/config/ConfigController.java
@@ -101,7 +101,7 @@ public class ConfigController { @@ -101,7 +101,7 @@ public class ConfigController {
101 return success(ConfigConvert.INSTANCE.convertPage(page)); 101 return success(ConfigConvert.INSTANCE.convertPage(page));
102 } 102 }
103 103
104 - @GetMapping("/export") 104 + @GetMapping("/export-excel")
105 @Operation(summary = "导出参数配置") 105 @Operation(summary = "导出参数配置")
106 @PreAuthorize("@ss.hasPermission('infra:config:export')") 106 @PreAuthorize("@ss.hasPermission('infra:config:export')")
107 @ApiAccessLog(operateType = EXPORT) 107 @ApiAccessLog(operateType = EXPORT)
yudao-module-mall/yudao-module-product/src/main/java/cn/iocoder/yudao/module/product/controller/admin/spu/ProductSpuController.java
@@ -124,7 +124,7 @@ public class ProductSpuController { @@ -124,7 +124,7 @@ public class ProductSpuController {
124 return success(productSpuService.getTabsCount()); 124 return success(productSpuService.getTabsCount());
125 } 125 }
126 126
127 - @GetMapping("/export") 127 + @GetMapping("/export-excel")
128 @Operation(summary = "导出商品") 128 @Operation(summary = "导出商品")
129 @PreAuthorize("@ss.hasPermission('product:spu:export')") 129 @PreAuthorize("@ss.hasPermission('product:spu:export')")
130 @ApiAccessLog(operateType = EXPORT) 130 @ApiAccessLog(operateType = EXPORT)
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/PostController.java
@@ -91,7 +91,7 @@ public class PostController { @@ -91,7 +91,7 @@ public class PostController {
91 return success(BeanUtils.toBean(pageResult, PostRespVO.class)); 91 return success(BeanUtils.toBean(pageResult, PostRespVO.class));
92 } 92 }
93 93
94 - @GetMapping("/export") 94 + @GetMapping("/export-excel")
95 @Operation(summary = "岗位管理") 95 @Operation(summary = "岗位管理")
96 @PreAuthorize("@ss.hasPermission('system:post:export')") 96 @PreAuthorize("@ss.hasPermission('system:post:export')")
97 @ApiAccessLog(operateType = EXPORT) 97 @ApiAccessLog(operateType = EXPORT)
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/DictDataController.java
@@ -98,7 +98,7 @@ public class DictDataController { @@ -98,7 +98,7 @@ public class DictDataController {
98 return success(BeanUtils.toBean(dictData, DictDataRespVO.class)); 98 return success(BeanUtils.toBean(dictData, DictDataRespVO.class));
99 } 99 }
100 100
101 - @GetMapping("/export") 101 + @GetMapping("/export-excel")
102 @Operation(summary = "导出字典数据") 102 @Operation(summary = "导出字典数据")
103 @PreAuthorize("@ss.hasPermission('system:dict:export')") 103 @PreAuthorize("@ss.hasPermission('system:dict:export')")
104 @ApiAccessLog(operateType = EXPORT) 104 @ApiAccessLog(operateType = EXPORT)
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/DictTypeController.java
@@ -97,7 +97,7 @@ public class DictTypeController { @@ -97,7 +97,7 @@ public class DictTypeController {
97 } 97 }
98 98
99 @Operation(summary = "导出数据类型") 99 @Operation(summary = "导出数据类型")
100 - @GetMapping("/export") 100 + @GetMapping("/export-excel")
101 @PreAuthorize("@ss.hasPermission('system:dict:query')") 101 @PreAuthorize("@ss.hasPermission('system:dict:query')")
102 @ApiAccessLog(operateType = EXPORT) 102 @ApiAccessLog(operateType = EXPORT)
103 public void export(HttpServletResponse response, @Valid DictTypePageReqVO exportReqVO) throws IOException { 103 public void export(HttpServletResponse response, @Valid DictTypePageReqVO exportReqVO) throws IOException {
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/LoginLogController.java
@@ -44,7 +44,7 @@ public class LoginLogController { @@ -44,7 +44,7 @@ public class LoginLogController {
44 return success(BeanUtils.toBean(pageResult, LoginLogRespVO.class)); 44 return success(BeanUtils.toBean(pageResult, LoginLogRespVO.class));
45 } 45 }
46 46
47 - @GetMapping("/export") 47 + @GetMapping("/export-excel")
48 @Operation(summary = "导出登录日志 Excel") 48 @Operation(summary = "导出登录日志 Excel")
49 @PreAuthorize("@ss.hasPermission('system:login-log:export')") 49 @PreAuthorize("@ss.hasPermission('system:login-log:export')")
50 @ApiAccessLog(operateType = EXPORT) 50 @ApiAccessLog(operateType = EXPORT)
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/OperateLogController.java
@@ -46,7 +46,7 @@ public class OperateLogController { @@ -46,7 +46,7 @@ public class OperateLogController {
46 } 46 }
47 47
48 @Operation(summary = "导出操作日志") 48 @Operation(summary = "导出操作日志")
49 - @GetMapping("/export") 49 + @GetMapping("/export-excel")
50 @PreAuthorize("@ss.hasPermission('system:operate-log:export')") 50 @PreAuthorize("@ss.hasPermission('system:operate-log:export')")
51 @ApiAccessLog(operateType = EXPORT) 51 @ApiAccessLog(operateType = EXPORT)
52 public void exportOperateLog(HttpServletResponse response, @Valid OperateLogPageReqVO exportReqVO) throws IOException { 52 public void exportOperateLog(HttpServletResponse response, @Valid OperateLogPageReqVO exportReqVO) throws IOException {
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/UserController.java
@@ -136,7 +136,7 @@ public class UserController { @@ -136,7 +136,7 @@ public class UserController {
136 return success(UserConvert.INSTANCE.convert(user, dept)); 136 return success(UserConvert.INSTANCE.convert(user, dept));
137 } 137 }
138 138
139 - @GetMapping("/export") 139 + @GetMapping("/export-excel")
140 @Operation(summary = "导出用户") 140 @Operation(summary = "导出用户")
141 @PreAuthorize("@ss.hasPermission('system:user:export')") 141 @PreAuthorize("@ss.hasPermission('system:user:export')")
142 @ApiAccessLog(operateType = EXPORT) 142 @ApiAccessLog(operateType = EXPORT)
yudao-server/pom.xml
@@ -138,6 +138,7 @@ @@ -138,6 +138,7 @@
138 <plugin> 138 <plugin>
139 <groupId>org.springframework.boot</groupId> 139 <groupId>org.springframework.boot</groupId>
140 <artifactId>spring-boot-maven-plugin</artifactId> 140 <artifactId>spring-boot-maven-plugin</artifactId>
  141 + <version>${spring.boot.version}</version>
141 <executions> 142 <executions>
142 <execution> 143 <execution>
143 <goals> 144 <goals>