From cfeac0226bc4a0521537148cfd5797f405bb854c Mon Sep 17 00:00:00 2001 From: zhenggl Date: Fri, 8 Sep 2023 17:15:48 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=E5=B7=A5=E5=8D=9A=E4=BC=9AchatFile?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=80=BC=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/chatFile/service/chatFile/ChatFileGetEAIService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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..280d683 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.getOne(lmq); - return buildOK("chat_file_info",list); + return buildOK("chat_file_info",chatFileServiceOne); } } From f51a775ff1eb8817f82d7b907442e8aa030c8a2a Mon Sep 17 00:00:00 2001 From: zhenggl Date: Fri, 8 Sep 2023 17:16:51 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=E5=B7=A5=E5=8D=9A=E4=BC=9AchatFile?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=80=BC=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/chatFile/service/chatFile/ChatFileGetEAIService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 280d683..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,7 +49,7 @@ public class ChatFileGetEAIService extends AbsEAIService { LambdaQueryWrapper lmq = new LambdaQueryWrapper<>(); lmq.eq(ChatFileEntity::getId,chatFileInfo.getId()); - ChatFileEntity chatFileServiceOne = chatFileService.getOne(lmq); + ChatFileEntity chatFileServiceOne = chatFileService.getById(lmq); return buildOK("chat_file_info",chatFileServiceOne); }