|
|
|
@ -231,7 +231,7 @@ public class AskServiceImpl implements AskService {
|
|
|
|
|
if (ObjectUtil.isEmpty(askPatientAnswer)) {
|
|
|
|
|
log.info("{}:病历配置,未从AskPatientAnswer中找到回答结果,尝试回答默认答案", rasaResult);
|
|
|
|
|
// 首先看看default里面是不是存在,如果存在,就从default里面去找
|
|
|
|
|
if (StrUtil.isNotEmpty(library.getDefaultAnswer())) {
|
|
|
|
|
if (StrUtil.isNotEmpty(library.getDefaultAnswer()) && StrUtil.isNotBlank(library.getDefaultAnswerResourceId())) {
|
|
|
|
|
String resText = library.getDefaultAnswer();
|
|
|
|
|
downloadTalkVideo(library.getDefaultAnswerResourceId(), response);
|
|
|
|
|
// 保存记录
|
|
|
|
|