manage : 病例问题导入 规则修改

dev_2.1.0
xueqingkun 1 year ago
parent 038015a5f2
commit 8863d0061a

@ -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

Loading…
Cancel
Save