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);