This commit is contained in:
he
2023-07-13 10:55:59 +08:00
parent 5511d6339e
commit 27b51e7ede
@@ -358,6 +358,10 @@ namespace IRaCIS.Core.Application.Service
ReadingId = inDto.ReadingId,
};
if (await _readModuleCriterionFromRepository.AnyAsync(x => x.ClinicalFormId == inDto.ClinicalFormId?default(Guid)))
{
throw new BusinessValidationFailedException("当前表单已确认,无法修改!");
}
var existsClinical = await _clinicalFormRepository.Where(x =>
x.SubjectId == inDto.SubjectId