|
@@ -581,7 +581,7 @@ public class RyTask
|
|
|
}
|
|
|
//将问答更新到数据库中
|
|
|
chatReq.setSessionId(sessionId);
|
|
|
- chatReq.setType(2);//0问答 1决策 2本地
|
|
|
+ chatReq.setType(1);//0问答 1决策 2本地 3仿真预测
|
|
|
chatReq.setModule(3);//0专家问答 1智能工单 2智能体助手 3告警 4简报
|
|
|
String showVal = this.buildShowValue(xinyiWarningRecord, tXinyiIndustry, normConfig);
|
|
|
chatReq.setShowVal(showVal);
|
|
@@ -1064,7 +1064,7 @@ public class RyTask
|
|
|
//保存聊天记录
|
|
|
//将问答更新到数据库中
|
|
|
chatReq.setSessionId(IdUtils.simpleUUID());
|
|
|
- chatReq.setType(2);//0问答 1决策 2本地
|
|
|
+ chatReq.setType(1);//0问答 1决策 2本地 3仿真预测
|
|
|
chatReq.setModule(3);
|
|
|
/*String userId = SecurityUtils.getUserId().toString();
|
|
|
String username = SecurityUtils.getUsername();*/
|
|
@@ -1200,7 +1200,7 @@ public class RyTask
|
|
|
}
|
|
|
//将问答更新到数据库中
|
|
|
chatReq.setSessionId(sessionId);
|
|
|
- chatReq.setType(2);//0问答 1决策 2本地
|
|
|
+ chatReq.setType(2);//0问答 1决策 2本地 3仿真预测
|
|
|
chatReq.setModule(4);//0专家问答 1智能工单 2智能体助手 3告警 4简报
|
|
|
chatReq.setShowVal(showVal);
|
|
|
chatReq.setQuestion(question);
|