拷贝和移动
This commit is contained in:
@@ -601,6 +601,12 @@ public class AuditDocumentService(IRepository<AuditDocument> _auditDocumentRepos
|
||||
throw new BusinessValidationFailedException(_localizer["AuditDocument_CanNotMove"]);
|
||||
}
|
||||
|
||||
await CopyFileOrFolder(inDto);
|
||||
|
||||
await DeleteAuditDocument(new DeleteAuditDocumentInDto()
|
||||
{
|
||||
Ids = inDto.Ids
|
||||
});
|
||||
|
||||
return ResponseOutput.Ok();
|
||||
}
|
||||
@@ -677,6 +683,7 @@ public class AuditDocumentService(IRepository<AuditDocument> _auditDocumentRepos
|
||||
auditDocumentAddOrEdits.ForEach(x =>
|
||||
{
|
||||
x.IsUpdate = false;
|
||||
x.IsAuthorization = false;
|
||||
x.Id = null;
|
||||
x.ParentId = inDto.ParentId;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user