|
|
|
@ -149,6 +149,7 @@ public class MedicalRecAnswerExcelDTO {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
errorCodeEnums.add(ErrorCodeEnum.QUESTION_NOT_FIND);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -172,9 +173,12 @@ public class MedicalRecAnswerExcelDTO {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void matchAnswerResource(List<MaterialLibrary> materialLibraryList){
|
|
|
|
|
if (StrUtil.isEmpty(this.answerVideoName)|| CollUtil.isEmpty(materialLibraryList)){
|
|
|
|
|
if (StrUtil.isEmpty(this.answerVideoName)){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if(CollUtil.isEmpty(materialLibraryList)){
|
|
|
|
|
errorCodeEnums.add(ErrorCodeEnum.ANSWER_VIDEO_NAME_NOT_FIND);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for (MaterialLibrary materialLibrary : materialLibraryList) {
|
|
|
|
|
if (this.answerVideoName.equals(materialLibrary.getMaterialName())){
|
|
|
|
@ -182,6 +186,7 @@ public class MedicalRecAnswerExcelDTO {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
errorCodeEnums.add(ErrorCodeEnum.ANSWER_VIDEO_NAME_NOT_FIND);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|