diff --git a/IRaCIS.Core.Application/Service/Document/AuditDocumentService.cs b/IRaCIS.Core.Application/Service/Document/AuditDocumentService.cs index 5c217d0b7..6dff69420 100644 --- a/IRaCIS.Core.Application/Service/Document/AuditDocumentService.cs +++ b/IRaCIS.Core.Application/Service/Document/AuditDocumentService.cs @@ -385,10 +385,6 @@ public class AuditDocumentService(IRepository _auditDocumentRepos [HttpPost] public async Task MovieFileOrFolder(MovieFileOrFolderInDto inDto) { - if (inDto.ParentId == null) - { - return ResponseOutput.Ok(); - } //闭包表中找到 设置Id为祖先的所有 后代 包括自己 var matchIdQuery = _auditDocumentClosureRepository.Where(t => inDto.Ids.Contains(t.AncestorId)).Select(t => t.DescendantId);