@@ -276,6 +276,9 @@ namespace IRaCIS.Core.Application.Service
|
||||
});
|
||||
break;
|
||||
case SaveSummarizeInfo.SaveAndAdd:
|
||||
|
||||
await _doctorSummarizeRepository.BatchDeleteNoTrackingAsync(x => x.DoctorId == inDto.DoctorId && x.TrialId == inDto.TrialId);
|
||||
|
||||
var exists = await _doctorSummarizeRepository.AnyAsync(x => x.DoctorId == inDto.DoctorId && x.TrialId == null &&
|
||||
(x.IndicationEn == inDto.IndicationEn && x.Indication == inDto.Indication));
|
||||
if (exists)
|
||||
|
||||
Reference in New Issue
Block a user