|
|
|
@ -99,8 +99,9 @@ public class AskServiceImpl implements AskService {
|
|
|
|
|
// 保存记录
|
|
|
|
|
DiagnosisQaRecord record = new DiagnosisQaRecord();
|
|
|
|
|
record.setProcessId(talkReqVO.getProcessId());
|
|
|
|
|
record.setAnswerType("default");
|
|
|
|
|
// 注意,这里如果有默认回答,回答的结果是默认结果ID
|
|
|
|
|
record.setQuestionAnswerId(library.getId());
|
|
|
|
|
record.setAnswerId(library.getId());
|
|
|
|
|
record.setQuestion(talkReqVO.getText());
|
|
|
|
|
record.setAnswer(resText);
|
|
|
|
|
record.setCreateUserId(UserUtil.getUser().getId());
|
|
|
|
@ -116,7 +117,8 @@ public class AskServiceImpl implements AskService {
|
|
|
|
|
// 保存记录
|
|
|
|
|
DiagnosisQaRecord record = new DiagnosisQaRecord();
|
|
|
|
|
record.setProcessId(talkReqVO.getProcessId());
|
|
|
|
|
record.setQuestionAnswerId(askPatientAnswer.getId());
|
|
|
|
|
record.setAnswerType("patient");
|
|
|
|
|
record.setAnswerId(askPatientAnswer.getId());
|
|
|
|
|
record.setQuestion(talkReqVO.getText());
|
|
|
|
|
record.setAnswer(resText);
|
|
|
|
|
record.setCreateUserId(UserUtil.getUser().getId());
|
|
|
|
|