Uat_Study
parent
4227002816
commit
95d0363bc3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue