|
|
@@ -427,6 +427,10 @@ public class AiHookServiceImpl implements AiHookService {
|
|
|
log.error("没有外部联系人" + "user:" + user);
|
|
|
return R.ok();
|
|
|
}
|
|
|
+ //用户是未回复状态
|
|
|
+ if(qwExternalContacts.getIsReply() == 0){
|
|
|
+ qwExternalContactMapper.updateQwExternalContactIsRePlyById(qwExternalContacts.getId());
|
|
|
+ }
|
|
|
if(qwExternalContacts.getType()==2){
|
|
|
|
|
|
return R.ok();
|
|
|
@@ -467,10 +471,6 @@ public class AiHookServiceImpl implements AiHookService {
|
|
|
addSaveAiMsg(1,1,contentEmj,user,fastGptChatSession.getSessionId(),role.getRoleId(),qwExternalContacts,fastGptChatSession.getUserId(),null,null,null);
|
|
|
//通过用户发送的对话去查询用户是否为新客,是就删除sop,否就不做处理
|
|
|
cleanNewUserDialogue(user, qwExternalContacts);
|
|
|
- //用户是未回复状态
|
|
|
- if(qwExternalContacts.getIsReply() == 0){
|
|
|
- qwExternalContactMapper.updateQwExternalContactIsRePlyById(qwExternalContacts.getId());
|
|
|
- }
|
|
|
}else {
|
|
|
contentEmj ="用户发送表情:"+qwContent;
|
|
|
if (type==16){
|