先删除
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
7dbf99e1c8
commit
e53b56f0d4
|
@ -276,6 +276,9 @@ namespace IRaCIS.Core.Application.Service
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case SaveSummarizeInfo.SaveAndAdd:
|
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 &&
|
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)
|
if (exists)
|
||||||
|
|
Loading…
Reference in New Issue