拷贝和移动
parent
0a8573091e
commit
b42a86922e
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue