重建闭包表修改
continuous-integration/drone/push Build is passing Details

Test_IRC_Net8
hang 2025-09-29 10:44:40 +08:00
parent 3685686447
commit 09bf2b4d91
1 changed files with 3 additions and 1 deletions

View File

@ -81,7 +81,7 @@ namespace IRaCIS.Core.Application.Service
/// <param name="_auditDocumentRepository"></param> /// <param name="_auditDocumentRepository"></param>
/// <returns></returns> /// <returns></returns>
[AllowAnonymous] [AllowAnonymous]
public async Task RebuildAuditDocumentClosureAsync([FromServices] IRepository<AuditDocumentClosure> _auditDocumentClosureRepository, [FromServices] IRepository<AuditDocument> _auditDocumentRepository) public async Task<IResponseOutput> RebuildAuditDocumentClosureAsync([FromServices] IRepository<AuditDocumentClosure> _auditDocumentClosureRepository, [FromServices] IRepository<AuditDocument> _auditDocumentRepository)
{ {
@ -134,6 +134,8 @@ namespace IRaCIS.Core.Application.Service
await _auditDocumentClosureRepository.AddRangeAsync(closures); await _auditDocumentClosureRepository.AddRangeAsync(closures);
await _auditDocumentClosureRepository.SaveChangesAsync(); await _auditDocumentClosureRepository.SaveChangesAsync();
return ResponseOutput.Ok();
} }