修改删除

Uat_Study
hang 2023-11-07 11:59:19 +08:00
parent a7429c1739
commit 105da818a8
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ namespace IRaCIS.Core.Application.Service
[HttpDelete("{commonDocumentId:guid}")]
public async Task<IResponseOutput> DeleteCommonDocument(Guid commonDocumentId)
{
var success = await _commonDocumentRepository.DeleteFromQueryAsync(t => t.Id == commonDocumentId, true);
var success = await _commonDocumentRepository.DeleteFromQueryAsync(t => t.Id == commonDocumentId, true,true);
return ResponseOutput.Ok();
}