From f8958337de1d7f3d9709ae47256372c274b72996 Mon Sep 17 00:00:00 2001 From: ire <931903008@qq.com> Date: Fri, 3 Jan 2025 19:47:04 +0800 Subject: [PATCH] =?UTF-8?q?prompt=E6=A8=A1=E6=9D=BF=20=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=EF=BC=8C=E5=BA=94=E7=94=A8=EF=BC=8C=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../llm/service/prompttemplates/PromptTemplatesServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/service/prompttemplates/PromptTemplatesServiceImpl.java b/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/service/prompttemplates/PromptTemplatesServiceImpl.java index 7f2c29f40..da665a006 100644 --- a/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/service/prompttemplates/PromptTemplatesServiceImpl.java +++ b/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/service/prompttemplates/PromptTemplatesServiceImpl.java @@ -271,7 +271,7 @@ public class PromptTemplatesServiceImpl implements PromptTemplatesService { List appNames = new ArrayList<>(); for (PromptTemplatesApplicationsDO applicationId : applicationIds) { - appNames.add(appMap.get(applicationId.getId())); + appNames.add(appMap.get(applicationId.getApplicationId())); } respVO.setApplicationCount(applicationIds.size()); respVO.setApplicationNames(appNames);