@ -95,7 +95,7 @@ public class MedicalRecAnswerExcelDTO {
}
this.absentCheck();
this.matchQuestionDicId(questionTypeDicList);
this.matchQuestion(questionLibraryList);
//this.matchQuestion(questionLibraryList);
this.matchAskPatientAnswer(askPatientAnswerList);
this.matchAnswerResource(materialLibraryList);
@ -68,7 +68,10 @@ public class OfflineAnswerVideoResource implements AnswerVideoResourceService {
// 扩充知识库
medicalRecAnswerExcelDTOS.stream().filter(dto -> CollUtil.isEmpty(dto.getErrorCodeEnums()))
.forEach(dto -> askQuestionLibraryManageService.saveQuestionLibrary(dto.toAskTemplateQuestionLibrary()));
.forEach(dto -> {
String questionLibraryId = askQuestionLibraryManageService.saveQuestionLibrary(dto.toAskTemplateQuestionLibrary());
dto.setLibraryQuestionId(questionLibraryId);
});
timer.restart();
// 生成错误信息excel