Browse Source

Merge branch 'sprint/S3' into release/S3

master
郑贵龙 1 year ago
parent
commit
e49c549061
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/service/chatFile/ChatFileUpdateEAIService.java

+ 2
- 0
demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/service/chatFile/ChatFileUpdateEAIService.java View File

@ -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.app.chatFile.infra.repository.ChatFileRepository;
import com.digiwin.athena.opt.common.eai.EAIRequest; import com.digiwin.athena.opt.common.eai.EAIRequest;
import com.digiwin.athena.opt.common.eai.service.AbsEAIService; import com.digiwin.athena.opt.common.eai.service.AbsEAIService;
import com.digiwin.athena.opt.common.security.SecurityUtil;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
@ -36,6 +37,7 @@ public class ChatFileUpdateEAIService extends AbsEAIService {
if (Objects.isNull(chatFileInfo.getCompleteDate())){ if (Objects.isNull(chatFileInfo.getCompleteDate())){
chatFileInfo.setCompleteDate(new Date()); chatFileInfo.setCompleteDate(new Date());
chatFileInfo.setQuestionCompleteBy(SecurityUtil.getUserProfile().getUserName());
} }


Loading…
Cancel
Save