修改适应症
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
2f77c0ecef
commit
7dbf99e1c8
|
@ -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"]);
|
||||
|
|
Loading…
Reference in New Issue