S-56
parent
5511d6339e
commit
27b51e7ede
|
@ -358,6 +358,10 @@ namespace IRaCIS.Core.Application.Service
|
||||||
ReadingId = inDto.ReadingId,
|
ReadingId = inDto.ReadingId,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (await _readModuleCriterionFromRepository.AnyAsync(x => x.ClinicalFormId == inDto.ClinicalFormId?default(Guid)))
|
||||||
|
{
|
||||||
|
throw new BusinessValidationFailedException("当前表单已确认,无法修改!");
|
||||||
|
}
|
||||||
|
|
||||||
var existsClinical = await _clinicalFormRepository.Where(x =>
|
var existsClinical = await _clinicalFormRepository.Where(x =>
|
||||||
x.SubjectId == inDto.SubjectId
|
x.SubjectId == inDto.SubjectId
|
||||||
|
|
Loading…
Reference in New Issue