修改仓储名称

This commit is contained in:
2022-04-26 16:56:18 +08:00
parent f118dd6e42
commit 8f6830ea8d
50 changed files with 173 additions and 167 deletions
@@ -466,7 +466,7 @@ namespace IRaCIS.Core.Application.Services
return ResponseOutput.NotOk("该文档,已有用户签名 不允许删除");
}
var success = await _trialDocumentRepository.BatchDeleteAsync(t => t.Id == trialDocumentId);
var success = await _trialDocumentRepository.BatchDeleteNoTrackingAsync(t => t.Id == trialDocumentId);
return ResponseOutput.Result(success);
}
@@ -586,7 +586,7 @@ namespace IRaCIS.Core.Application.Services
}
else
{
await _trialDocumentRepository.BatchUpdateAsync(t => t.Id == documentId, u => new TrialDocument() { IsDeleted = true });
await _trialDocumentRepository.BatchUpdateNoTrackingAsync(t => t.Id == documentId, u => new TrialDocument() { IsDeleted = true });
}
return ResponseOutput.Ok();
}