From 27b713406061dfa78adfd69b5829b45ac2b6e034 Mon Sep 17 00:00:00 2001 From: zhenggl Date: Mon, 11 Sep 2023 14:06:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=B7=A5=E5=8D=9A=E4=BC=9AchatFile?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86=E4=BA=BA=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E8=B5=8B=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/chatFile/service/chatFile/ChatFileUpdateEAIService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/service/chatFile/ChatFileUpdateEAIService.java b/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/service/chatFile/ChatFileUpdateEAIService.java index 6d07faa..e58c75f 100644 --- a/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/service/chatFile/ChatFileUpdateEAIService.java +++ b/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/service/chatFile/ChatFileUpdateEAIService.java @@ -6,6 +6,7 @@ import com.digiwin.athena.app.chatFile.infra.entity.ChatFileEntity; import com.digiwin.athena.app.chatFile.infra.repository.ChatFileRepository; import com.digiwin.athena.opt.common.eai.EAIRequest; import com.digiwin.athena.opt.common.eai.service.AbsEAIService; +import com.digiwin.athena.opt.common.security.SecurityUtil; import lombok.extern.log4j.Log4j2; import org.springframework.stereotype.Service; @@ -36,6 +37,7 @@ public class ChatFileUpdateEAIService extends AbsEAIService { if (Objects.isNull(chatFileInfo.getCompleteDate())){ chatFileInfo.setCompleteDate(new Date()); + chatFileInfo.setQuestionCompleteBy(SecurityUtil.getUserProfile().getUserName()); }