Uat_Study
he 2023-07-14 11:21:59 +08:00
parent eae14095c0
commit 586000a98d
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ namespace IRaCIS.Core.Application.Service
ReadingId = inDto.ReadingId, ReadingId = inDto.ReadingId,
}; };
if (await _readModuleCriterionFromRepository.AnyAsync(x => x.ClinicalFormId == inDto.ClinicalFormId?default(Guid))) if (inDto.ClinicalFormId!=null&&(await _readModuleCriterionFromRepository.AnyAsync(x => x.ClinicalFormId == inDto.ClinicalFormId.Value)))
{ {
throw new BusinessValidationFailedException("当前表单已确认,无法修改!"); throw new BusinessValidationFailedException("当前表单已确认,无法修改!");
} }