Commit a4aa1fac0bba1da730b74f6ead71653eaff85f1d
Merge branch 'feature/v2.7.17' of https://gitee.com/zhijiantianya/ruoyi-vue-pro
Showing
8 changed files
with
41 additions
and
33 deletions
README.md
| ... | ... | @@ -256,7 +256,7 @@ _鍓嶇鍩轰簬 crmeb uniapp 缁忚繃鎺堟潈閲嶆瀯锛屼紭鍖栦唬鐮佸疄鐜帮紝鎺ュ叆鑺嬮 |
| 256 | 256 | |
| 257 | 257 | | 妗嗘灦 | 璇存槑 | 鐗堟湰 | 瀛︿範鎸囧崡 | |
| 258 | 258 | |---------------------------------------------------------------------------------------------|------------------|----------------|----------------------------------------------------------------| |
| 259 | -| [Spring Boot](https://spring.io/projects/spring-boot) | 搴旂敤寮鍙戞鏋 | 2.7.16 | [鏂囨。](https://github.com/YunaiV/SpringBoot-Labs) | | |
| 259 | +| [Spring Boot](https://spring.io/projects/spring-boot) | 搴旂敤寮鍙戞鏋 | 2.7.17 | [鏂囨。](https://github.com/YunaiV/SpringBoot-Labs) | | |
| 260 | 260 | | [MySQL](https://www.mysql.com/cn/) | 鏁版嵁搴撴湇鍔″櫒 | 5.7 / 8.0+ | | |
| 261 | 261 | | [Druid](https://github.com/alibaba/druid) | JDBC 杩炴帴姹犮佺洃鎺х粍浠 | 1.2.19 | [鏂囨。](http://www.iocoder.cn/Spring-Boot/datasource-pool/?yudao) | |
| 262 | 262 | | [MyBatis Plus](https://mp.baomidou.com/) | MyBatis 澧炲己宸ュ叿鍖 | 3.5.3.2 | [鏂囨。](http://www.iocoder.cn/Spring-Boot/MyBatis/?yudao) | | ... | ... |
pom.xml
| ... | ... | @@ -40,7 +40,7 @@ |
| 40 | 40 | <flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version> |
| 41 | 41 | <!-- 看看咋放到 bom 里 --> |
| 42 | 42 | <lombok.version>1.18.30</lombok.version> |
| 43 | - <spring.boot.version>2.7.16</spring.boot.version> | |
| 43 | + <spring.boot.version>2.7.17</spring.boot.version> | |
| 44 | 44 | <mapstruct.version>1.5.5.Final</mapstruct.version> |
| 45 | 45 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 46 | 46 | </properties> | ... | ... |
yudao-dependencies/pom.xml
| ... | ... | @@ -17,25 +17,25 @@ |
| 17 | 17 | <revision>1.8.2-snapshot</revision> |
| 18 | 18 | <flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version> |
| 19 | 19 | <!-- 统一依赖管理 --> |
| 20 | - <spring.boot.version>2.7.16</spring.boot.version> | |
| 20 | + <spring.boot.version>2.7.17</spring.boot.version> | |
| 21 | 21 | <!-- Web 相关 --> |
| 22 | 22 | <springdoc.version>1.6.15</springdoc.version> |
| 23 | 23 | <knife4j.version>4.3.0</knife4j.version> |
| 24 | 24 | <servlet.versoin>2.5</servlet.versoin> |
| 25 | 25 | <!-- DB 相关 --> |
| 26 | - <druid.version>1.2.19</druid.version> | |
| 27 | - <mybatis-plus.version>3.5.3.2</mybatis-plus.version> | |
| 28 | - <mybatis-plus-generator.version>3.5.3.2</mybatis-plus-generator.version> | |
| 26 | + <druid.version>1.2.20</druid.version> | |
| 27 | + <mybatis-plus.version>3.5.4</mybatis-plus.version> | |
| 28 | + <mybatis-plus-generator.version>3.5.4</mybatis-plus-generator.version> | |
| 29 | 29 | <dynamic-datasource.version>3.6.1</dynamic-datasource.version> |
| 30 | 30 | <mybatis-plus-join.version>1.4.6</mybatis-plus-join.version> |
| 31 | 31 | <redisson.version>3.18.0</redisson.version> |
| 32 | - <dm8.jdbc.version>8.1.2.141</dm8.jdbc.version> | |
| 32 | + <dm8.jdbc.version>8.1.3.62</dm8.jdbc.version> | |
| 33 | 33 | <!-- 服务保障相关 --> |
| 34 | - <lock4j.version>2.2.3</lock4j.version> | |
| 34 | + <lock4j.version>2.2.5</lock4j.version> | |
| 35 | 35 | <resilience4j.version>1.7.1</resilience4j.version> |
| 36 | 36 | <!-- 监控相关 --> |
| 37 | 37 | <skywalking.version>8.12.0</skywalking.version> |
| 38 | - <spring-boot-admin.version>2.7.10</spring-boot-admin.version> | |
| 38 | + <spring-boot-admin.version>2.7.11</spring-boot-admin.version> | |
| 39 | 39 | <opentracing.version>0.33.0</opentracing.version> |
| 40 | 40 | <!-- Test 测试相关 --> |
| 41 | 41 | <podam.version>7.2.11.RELEASE</podam.version> |
| ... | ... | @@ -44,8 +44,8 @@ |
| 44 | 44 | <!-- Bpm 工作流相关 --> |
| 45 | 45 | <flowable.version>6.8.0</flowable.version> |
| 46 | 46 | <!-- 工具类相关 --> |
| 47 | - <captcha-plus.version>1.0.8</captcha-plus.version> | |
| 48 | - <jsoup.version>1.16.1</jsoup.version> | |
| 47 | + <captcha-plus.version>1.0.10</captcha-plus.version> | |
| 48 | + <jsoup.version>1.16.2</jsoup.version> | |
| 49 | 49 | <lombok.version>1.18.30</lombok.version> |
| 50 | 50 | <mapstruct.version>1.5.5.Final</mapstruct.version> |
| 51 | 51 | <hutool.version>5.8.22</hutool.version> |
| ... | ... | @@ -53,10 +53,10 @@ |
| 53 | 53 | <velocity.version>2.3</velocity.version> |
| 54 | 54 | <screw.version>1.0.5</screw.version> |
| 55 | 55 | <fastjson.version>1.2.83</fastjson.version> |
| 56 | - <guava.version>32.1.2-jre</guava.version> | |
| 56 | + <guava.version>32.1.3-jre</guava.version> | |
| 57 | 57 | <guice.version>5.1.0</guice.version> |
| 58 | 58 | <transmittable-thread-local.version>2.14.2</transmittable-thread-local.version> |
| 59 | - <commons-net.version>3.9.0</commons-net.version> | |
| 59 | + <commons-net.version>3.10.0</commons-net.version> | |
| 60 | 60 | <jsch.version>0.1.55</jsch.version> |
| 61 | 61 | <tika-core.version>2.7.0</tika-core.version> |
| 62 | 62 | <ip2region.version>2.7.0</ip2region.version> |
| ... | ... | @@ -67,8 +67,8 @@ |
| 67 | 67 | <minio.version>8.5.6</minio.version> |
| 68 | 68 | <aliyun-java-sdk-core.version>4.6.4</aliyun-java-sdk-core.version> |
| 69 | 69 | <aliyun-java-sdk-dysmsapi.version>2.2.1</aliyun-java-sdk-dysmsapi.version> |
| 70 | - <tencentcloud-sdk-java.version>3.1.853</tencentcloud-sdk-java.version> | |
| 71 | - <justauth.version>1.0.5</justauth.version> | |
| 70 | + <tencentcloud-sdk-java.version>3.1.880</tencentcloud-sdk-java.version> | |
| 71 | + <justauth.version>1.0.7</justauth.version> | |
| 72 | 72 | <jimureport.version>1.6.1</jimureport.version> |
| 73 | 73 | <xercesImpl.version>2.12.2</xercesImpl.version> |
| 74 | 74 | <weixin-java.version>4.5.0</weixin-java.version> | ... | ... |
yudao-example/yudao-sso-demo-by-code/pom.xml
| ... | ... | @@ -21,7 +21,7 @@ |
| 21 | 21 | <maven.compiler.target>8</maven.compiler.target> |
| 22 | 22 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 23 | 23 | <!-- 统一依赖管理 --> |
| 24 | - <spring.boot.version>2.7.16</spring.boot.version> | |
| 24 | + <spring.boot.version>2.7.17</spring.boot.version> | |
| 25 | 25 | </properties> |
| 26 | 26 | |
| 27 | 27 | <dependencyManagement> | ... | ... |
yudao-example/yudao-sso-demo-by-password/pom.xml
| ... | ... | @@ -21,7 +21,7 @@ |
| 21 | 21 | <maven.compiler.target>8</maven.compiler.target> |
| 22 | 22 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 23 | 23 | <!-- 统一依赖管理 --> |
| 24 | - <spring.boot.version>2.7.16</spring.boot.version> | |
| 24 | + <spring.boot.version>2.7.17</spring.boot.version> | |
| 25 | 25 | </properties> |
| 26 | 26 | |
| 27 | 27 | <dependencyManagement> | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben/api/api.ts.vm
| 1 | -import { defHttp } from '@/utils/http/axios' | |
| 1 | +import {defHttp} from '@/utils/http/axios' | |
| 2 | 2 | #set ($baseURL = "/${table.moduleName}/${simpleClassName_strikeCase}") |
| 3 | 3 | |
| 4 | 4 | // 查询${table.classComment}列表 |
| ... | ... | @@ -28,5 +28,5 @@ export function delete${simpleClassName}(id: number) { |
| 28 | 28 | |
| 29 | 29 | // 导出${table.classComment} Excel |
| 30 | 30 | export function export${simpleClassName}(params) { |
| 31 | - return defHttp.download({ url: '${baseURL}/export-excel', params }, '${table.classComment}.xls') | |
| 31 | + return defHttp.download({ url: '${baseURL}/export-excel', params }, '${table.classComment}.xls') | |
| 32 | 32 | } | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben/views/data.ts.vm
| 1 | -import type { BasicColumn, FormSchema } from '@/components/Table' | |
| 2 | -import { useRender } from '@/components/Table' | |
| 3 | -import { DICT_TYPE, getDictOptions } from '@/utils/dict' | |
| 1 | +import type {BasicColumn, FormSchema} from '@/components/Table' | |
| 2 | +import {useRender} from '@/components/Table' | |
| 3 | +import {DICT_TYPE, getDictOptions} from '@/utils/dict' | |
| 4 | 4 | |
| 5 | 5 | export const columns: BasicColumn[] = [ |
| 6 | 6 | #foreach($column in $columns) |
| ... | ... | @@ -50,7 +50,7 @@ export const searchFormSchema: FormSchema[] = [ |
| 50 | 50 | field: '${javaField}', |
| 51 | 51 | #if ($column.htmlType == "input") |
| 52 | 52 | component: 'Input', |
| 53 | - #elseif ($column.htmlType == "select" || $column.htmlType == "radio") | |
| 53 | + #elseif ($column.htmlType == "select") | |
| 54 | 54 | component: 'Select', |
| 55 | 55 | componentProps: { |
| 56 | 56 | #if ("" != $dictType)## 设置了 dictType 数据字典的情况 |
| ... | ... | @@ -59,6 +59,15 @@ export const searchFormSchema: FormSchema[] = [ |
| 59 | 59 | options: [], |
| 60 | 60 | #end |
| 61 | 61 | }, |
| 62 | + #elseif ($column.htmlType == "radio") | |
| 63 | + component: 'Radio', | |
| 64 | + componentProps: { | |
| 65 | + #if ("" != $dictType)## 设置了 dictType 数据字典的情况 | |
| 66 | + options: getDictOptions(DICT_TYPE.$dictType.toUpperCase()), | |
| 67 | + #else## 未设置 dictType 数据字典的情况 | |
| 68 | + options: [], | |
| 69 | + #end | |
| 70 | + }, | |
| 62 | 71 | #elseif($column.htmlType == "datetime") |
| 63 | 72 | component: 'RangePicker', |
| 64 | 73 | #end |
| ... | ... | @@ -181,7 +190,8 @@ export const updateFormSchema: FormSchema[] = [ |
| 181 | 190 | fileType: 'file', |
| 182 | 191 | maxCount: 1, |
| 183 | 192 | }, |
| 184 | - #elseif($column.htmlType == "editor")## 文本编辑器component: 'Editor', | |
| 193 | + #elseif($column.htmlType == "editor")## 文本编辑器 | |
| 194 | + component: 'Editor', | |
| 185 | 195 | #elseif($column.htmlType == "select")## 下拉框 |
| 186 | 196 | component: 'Select', |
| 187 | 197 | componentProps: { | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben/views/index.vue.vm
| 1 | 1 | <script lang="ts" setup> |
| 2 | -import ${ simpleClassName }Modal from './${simpleClassName}Modal.vue' | |
| 3 | -import { columns, searchFormSchema } from './${classNameVar}.data' | |
| 4 | -import { useI18n } from '@/hooks/web/useI18n' | |
| 5 | -import { useMessage } from '@/hooks/web/useMessage' | |
| 6 | -import { useModal } from '@/components/Modal' | |
| 7 | -import { IconEnum } from '@/enums/appEnum' | |
| 8 | -import { BasicTable, useTable, TableAction } from '@/components/Table' | |
| 9 | -import { delete${ simpleClassName }, export${ simpleClassName }, get${ simpleClassName } Page } from '@/api/${table.moduleName}/${classNameVar}' | |
| 2 | + import {columns, searchFormSchema} from './' | |
| 3 | + import {useI18n} from '@/hooks/web/useI18n' | |
| 4 | + import {useMessage} from '@/hooks/web/useMessage' | |
| 5 | + import {useModal} from '@/components/Modal' | |
| 6 | + import {useTable} from '@/components/Table' | |
| 7 | + import { delete${ simpleClassName }, export${ simpleClassName }, get${ simpleClassName } Page } from '@/api/${table.moduleName}/${classNameVar}' | |
| 10 | 8 | |
| 11 | 9 | defineOptions({ name: '${table.className}' }) |
| 12 | 10 | |
| ... | ... | @@ -62,7 +60,7 @@ async function handleDelete(record: Recordable) { |
| 62 | 60 | <a-button type="primary" v-auth="['${permissionPrefix}:create']" :preIcon="IconEnum.ADD" @click="handleCreate"> |
| 63 | 61 | {{ t('action.create') }} |
| 64 | 62 | </a-button> |
| 65 | - <a-button type="warning" v-auth="['${permissionPrefix}:export']" :preIcon="IconEnum.EXPORT" @click="handleExport"> | |
| 63 | + <a-button v-auth="['${permissionPrefix}:export']" :preIcon="IconEnum.EXPORT" @click="handleExport"> | |
| 66 | 64 | {{ t('action.export') }} |
| 67 | 65 | </a-button> |
| 68 | 66 | </template> | ... | ... |