IRC_NewDev
he 2023-11-21 13:10:39 +08:00
parent bec8720a4d
commit 624cbee901
2 changed files with 2 additions and 2 deletions

View File

@ -542,7 +542,7 @@ namespace IRaCIS.Core.Application.Service
}
}
await _readingMedicineTrialQuestionRepository.AddRangeAsync(needList);
await _readingMedicineTrialQuestionRepository.AddRangeAsync(_mapper.Map<List<ReadingMedicineTrialQuestion>>(needList));
var result = await _readingMedicineTrialQuestionRepository.SaveChangesAsync();
return ResponseOutput.Result(result);
}

View File

@ -58,7 +58,7 @@ namespace IRaCIS.Core.Application.Service
CreateMap<VisitTask, VisitTaskDto>();
CreateMap<SubmitTableQuestionInDto, ReadingTableAnswerRowInfo>();
CreateMap<ShortcutKey, DefaultShortcutKeyView>();
CreateMap<TrialDataFromSystem, ReadingMedicineTrialQuestion>();
CreateMap<ReadingCustomTag, ReadingCustomTagDto>();
CreateMap<ReadingCustomTagDto, ReadingCustomTag>();