Uat_Study
he 2022-08-11 16:57:19 +08:00
parent 594849529c
commit 84bde443bf
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ namespace IRaCIS.Application.Services
ReadModule readModule = null;
if (inDto.ReadingId != null)
{
readModule = await _readModuleRepository.Where(x => x.Id ==inDto.ReadingId).FirstNotNullAsync();
readModule = await _readModuleRepository.Where(x => x.Id ==inDto.ReadingId).FirstOrDefaultAsync();
}
Dictionary<ModuleTypeEnum, ClinicalLevel> keyValuePairs = new Dictionary<ModuleTypeEnum, ClinicalLevel>();