diff --git a/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/service/chatFile/ChatFileGetEAIService.java b/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/service/chatFile/ChatFileGetEAIService.java index 5f16bd5..51d9027 100644 --- a/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/service/chatFile/ChatFileGetEAIService.java +++ b/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/service/chatFile/ChatFileGetEAIService.java @@ -49,8 +49,8 @@ public class ChatFileGetEAIService extends AbsEAIService { LambdaQueryWrapper lmq = new LambdaQueryWrapper<>(); lmq.eq(ChatFileEntity::getId,chatFileInfo.getId()); - List list = chatFileService.list(lmq); + ChatFileEntity chatFileServiceOne = chatFileService.getById(lmq); - return buildOK("chat_file_info",list); + return buildOK("chat_file_info",chatFileServiceOne); } }