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 e58c75f..95a6c3c 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 @@ -37,10 +37,9 @@ public class ChatFileUpdateEAIService extends AbsEAIService { if (Objects.isNull(chatFileInfo.getCompleteDate())){ chatFileInfo.setCompleteDate(new Date()); - chatFileInfo.setQuestionCompleteBy(SecurityUtil.getUserProfile().getUserName()); } - + chatFileInfo.setQuestionCompleteBy(SecurityUtil.getUserProfile().getUserName()); chatFileRepository.updateBatch(chatFileInfo); return buildOK(new HashMap<>());