修改适应症
continuous-integration/drone/push Build is passing Details

IRC_NewDev
he 2024-12-02 15:16:04 +08:00
parent 2f77c0ecef
commit 7dbf99e1c8
1 changed files with 1 additions and 1 deletions

View File

@ -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"]);