Uat_Study
parent
d311290547
commit
0017b9c98e
|
@ -173,7 +173,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("当前字典在标准中被引用,不允许删除!");
|
||||
}
|
||||
|
||||
if (await _dicRepository.AnyAsync(t => t.ParentId == id))
|
||||
|
|
Loading…
Reference in New Issue