Refactor result view query to support LastBatch retrieval

Replaced Last with LastBatch in ReadResultViewQuery to enable fetching all results from the most recent batch. Updated handler logic and tests accordingly, and added GetLastBatchEntitiesAsync to retrieve entities by latest BatchId.
This commit is contained in:
2026-04-16 10:49:15 +02:00
parent a10f917084
commit 70c2f7342d
2 changed files with 21 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ public class InvokeBatchDuplicateGuardTests : RecApplicationTestBase
{
ProfileId = ProfileId,
IncludeAction = false,
Last = true
LastBatch = true
});
var existingBatchId = results.FirstOrDefault()?.BatchId;