Fulfill export executor

This commit is contained in:
2025-10-27 10:17:08 +09:00
parent 7c35c9a7df
commit 9e9845d446
6 changed files with 23 additions and 7 deletions

View File

@ -14,5 +14,11 @@ namespace Hcs.WebApp.Services
where registry.IsCommon == isCommon
select registry).ToListAsync();
}
public async Task<Registry> GetRegistryByOperationId(int operationId)
{
using var context = factory.CreateDbContext();
return await context.Registries.SingleAsync(x => x.LastSyncOperationId == operationId);
}
}
}