From abf5fae91a0f3362dd6b6eb39ec3253b018750bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=89=E6=B5=A9=E6=B5=A9?= <1036606149@qq.com>
Date: Tue, 13 May 2025 22:55:31 +0800
Subject: [PATCH 01/46] =?UTF-8?q?fix=EF=BC=9A=E5=B0=86API=E5=AF=BC?=
=?UTF-8?q?=E5=85=A5=E8=B7=AF=E5=BE=84=E4=B8=AD=E7=9A=84simpleClassName=5F?=
=?UTF-8?q?strikeCase=E6=9B=BF=E6=8D=A2=E4=B8=BAbusinessName=EF=BC=8C?=
=?UTF-8?q?=E4=BB=A5=E7=A1=AE=E4=BF=9D=E6=AD=A3=E7=A1=AE=E5=BC=95=E7=94=A8?=
=?UTF-8?q?API?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../codegen/vue3_vben5_antd/general/views/form.vue.vm | 4 ++--
.../codegen/vue3_vben5_antd/schema/views/data.ts.vm | 8 +++++---
.../codegen/vue3_vben5_antd/schema/views/form.vue.vm | 4 ++--
.../codegen/vue3_vben5_antd/schema/views/index.vue.vm | 6 +++---
.../schema/views/modules/form_sub_erp.vue.vm | 4 ++--
.../schema/views/modules/form_sub_normal.vue.vm | 6 +++---
.../schema/views/modules/list_sub_erp.vue.vm | 8 ++++----
7 files changed, 21 insertions(+), 19 deletions(-)
diff --git a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben5_antd/general/views/form.vue.vm b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben5_antd/general/views/form.vue.vm
index 90c0a6e9c5..c87cd2ad31 100644
--- a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben5_antd/general/views/form.vue.vm
+++ b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben5_antd/general/views/form.vue.vm
@@ -8,7 +8,7 @@ import { ImageUpload, FileUpload } from "#/components/upload";
import { message, Tabs, Form, Input, Textarea, Select, RadioGroup, Radio, CheckboxGroup, Checkbox, DatePicker, TreeSelect } from 'ant-design-vue';
import { DICT_TYPE, getDictOptions } from '#/utils';
#if($table.templateType == 2)## 树表需要导入这些
-import { get${simpleClassName}List } from '#/api/${table.moduleName}/${simpleClassName_strikeCase}';
+import { get${simpleClassName}List } from '#/api/${table.moduleName}/${table.businessName}';
import { handleTree } from '@vben/utils'
#end
## 特殊:主子表专属逻辑
@@ -22,7 +22,7 @@ import { handleTree } from '@vben/utils'
import { computed, ref } from 'vue';
import { $t } from '#/locales';
-import { get${simpleClassName}, create${simpleClassName}, update${simpleClassName} } from '#/api/${table.moduleName}/${simpleClassName_strikeCase}';
+import { get${simpleClassName}, create${simpleClassName}, update${simpleClassName} } from '#/api/${table.moduleName}/${table.businessName}';
const emit = defineEmits(['success']);
diff --git a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben5_antd/schema/views/data.ts.vm b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben5_antd/schema/views/data.ts.vm
index d7a90dcc20..5ca4c08d6e 100644
--- a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben5_antd/schema/views/data.ts.vm
+++ b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben5_antd/schema/views/data.ts.vm
@@ -1,13 +1,15 @@
import type { VbenFormSchema } from '#/adapter/form';
import type { OnActionClickFn, VxeTableGridOptions } from '#/adapter/vxe-table';
-import type { ${simpleClassName}Api } from '#/api/${table.moduleName}/${simpleClassName_strikeCase}';
+import type { ${simpleClassName}Api } from '#/api/${table.moduleName}/${table.businessName}';
import { z } from '#/adapter/form';
+import { getRangePickerDefaultProps } from '#/utils/date';
+import { DICT_TYPE, getDictOptions } from '#/utils/dict';
+
#if(${table.templateType} == 2)## 树表需要导入这些
-import { get${simpleClassName}List } from '#/api/${table.moduleName}/${simpleClassName_strikeCase}';
+import { get${simpleClassName}List } from '#/api/${table.moduleName}/${table.businessName}';
import { handleTree } from '@vben/utils';
#end
-import { DICT_TYPE, getDictOptions, getRangePickerDefaultProps } from '#/utils';
import { useAccess } from '@vben/access';
const { hasAccessByCodes } = useAccess();
diff --git a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben5_antd/schema/views/form.vue.vm b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben5_antd/schema/views/form.vue.vm
index c4e0eecfb4..1c1b7d7f9c 100644
--- a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben5_antd/schema/views/form.vue.vm
+++ b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben5_antd/schema/views/form.vue.vm
@@ -1,5 +1,5 @@
@@ -204,22 +189,52 @@ const onRefresh = async ()=> {
-
- #if ($table.templateType == 11 && $deleteBatchEnable)
-
- #end
+
+
+
+
#else
From 951663b6b7dfcc46822eb23c5e628926a0951996 Mon Sep 17 00:00:00 2001
From: YunaiV
Date: Wed, 21 May 2025 22:56:49 +0800
Subject: [PATCH 45/46] =?UTF-8?q?fix=EF=BC=9A=E3=80=90AI=20=E5=A4=A7?=
=?UTF-8?q?=E6=A8=A1=E5=9E=8B=E3=80=91toolContext=20=E4=B8=BA=E7=A9=BA?=
=?UTF-8?q?=EF=BC=8C=E4=BC=9A=E5=AF=BC=E8=87=B4=E6=8A=A5=E9=94=99=E9=97=AE?=
=?UTF-8?q?=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/java/cn/iocoder/yudao/module/ai/util/AiUtils.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/util/AiUtils.java b/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/util/AiUtils.java
index f81a57131c..ac3ff39a49 100644
--- a/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/util/AiUtils.java
+++ b/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/util/AiUtils.java
@@ -38,6 +38,7 @@ public class AiUtils {
public static ChatOptions buildChatOptions(AiPlatformEnum platform, String model, Double temperature, Integer maxTokens,
Set toolNames, Map toolContext) {
toolNames = ObjUtil.defaultIfNull(toolNames, Collections.emptySet());
+ toolContext = ObjUtil.defaultIfNull(toolContext, Collections.emptyMap());
// noinspection EnhancedSwitchMigration
switch (platform) {
case TONG_YI:
From a86db4b43fcd9efacf9b9d5a6c728ab1a8b7b8d2 Mon Sep 17 00:00:00 2001
From: YunaiV
Date: Fri, 23 May 2025 09:01:50 +0800
Subject: [PATCH 46/46] =?UTF-8?q?(=E3=80=83'=E2=96=BD'=E3=80=83)=20v2.6.0?=
=?UTF-8?q?=20=E5=8F=91=E5=B8=83=EF=BC=9A=E7=AE=80=E5=8C=96=E9=A1=B9?=
=?UTF-8?q?=E7=9B=AE=E7=BB=93=E6=9E=84=EF=BC=8C=E5=B8=8C=E6=9C=9B=E4=BD=A0?=
=?UTF-8?q?=E4=BC=9A=E5=96=9C=E6=AC=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 2 +-
yudao-dependencies/pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index e656a28522..a1f51bfa16 100644
--- a/pom.xml
+++ b/pom.xml
@@ -32,7 +32,7 @@
https://github.com/YunaiV/ruoyi-vue-pro
- 2.5.0-SNAPSHOT
+ 2.6.0-SNAPSHOT
17
${java.version}
diff --git a/yudao-dependencies/pom.xml b/yudao-dependencies/pom.xml
index f480f401a0..f5329d064d 100644
--- a/yudao-dependencies/pom.xml
+++ b/yudao-dependencies/pom.xml
@@ -14,7 +14,7 @@
https://github.com/YunaiV/ruoyi-vue-pro
- 2.5.0-SNAPSHOT
+ 2.6.0-SNAPSHOT
1.6.0
3.4.5