Uat_Study
he 2023-03-24 09:09:26 +08:00
parent 4227002816
commit 95d0363bc3
1 changed files with 2 additions and 1 deletions

View File

@ -197,7 +197,8 @@ namespace IRaCIS.Application.Services
if (await _readingCriterionDictionaryRepository.AnyAsync(x => x.DictionaryId == id))
{
return ResponseOutput.NotOk("当前条目已经在阅片标准中被引用。");
await _readingCriterionDictionaryRepository.BatchDeleteNoTrackingAsync(t => t.DictionaryId == id);
//return ResponseOutput.NotOk("当前条目已经在阅片标准中被引用。");
}
var success = await _dicRepository.BatchDeleteNoTrackingAsync(t => t.Id == id);