This commit is contained in:
he
2022-05-18 08:58:35 +08:00
parent 4c0831e2c3
commit 3009fb422f
5 changed files with 102 additions and 32 deletions
@@ -157,8 +157,8 @@ namespace IRaCIS.Core.Application.Contracts
return ResponseOutput.NotOk("已有QC审核记录,不允许删除问题项");
}
var success = await _trialQcQuestionRepository.BatchDeleteNoTrackingAsync(t => t.Id == trialQCQuestionConfigureId);
return ResponseOutput.Result(success);
var success = await _trialQcQuestionRepository.DeleteFromQueryAsync(t => t.Id == trialQCQuestionConfigureId,true);
return ResponseOutput.Result(true);
}