diff --git a/IRaCIS.Core.Application/Service/Doctor/DoctorService.cs b/IRaCIS.Core.Application/Service/Doctor/DoctorService.cs index cdbe0e831..eb7917671 100644 --- a/IRaCIS.Core.Application/Service/Doctor/DoctorService.cs +++ b/IRaCIS.Core.Application/Service/Doctor/DoctorService.cs @@ -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"]);