@@ -277,7 +277,7 @@ namespace IRaCIS.Core.Application.Service
|
||||
break;
|
||||
case SaveSummarizeInfo.SaveAndAdd:
|
||||
var exists = await _doctorSummarizeRepository.AnyAsync(x => x.DoctorId == inDto.DoctorId && x.TrialId == null &&
|
||||
(x.IndicationEn == inDto.IndicationEn || x.Indication == inDto.Indication));
|
||||
(x.IndicationEn == inDto.IndicationEn && x.Indication == inDto.Indication));
|
||||
if (exists)
|
||||
{
|
||||
throw new BusinessValidationFailedException(_localizer["DoctorSummarize_repeat"]);
|
||||
|
||||
Reference in New Issue
Block a user