mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
Make unique key helper more helpful
This commit is contained in:
@ -88,7 +88,7 @@ public class BulkInsertTransformStep extends AbstractTransformStep
|
|||||||
List<UniqueKey> uniqueKeys = CollectionUtils.nonNullList(table.getUniqueKeys());
|
List<UniqueKey> uniqueKeys = CollectionUtils.nonNullList(table.getUniqueKeys());
|
||||||
for(UniqueKey uniqueKey : uniqueKeys)
|
for(UniqueKey uniqueKey : uniqueKeys)
|
||||||
{
|
{
|
||||||
existingKeys.put(uniqueKey, UniqueKeyHelper.getExistingKeys(runBackendStepInput, null, table, runBackendStepInput.getRecords(), uniqueKey));
|
existingKeys.put(uniqueKey, UniqueKeyHelper.getExistingKeys(null, table, runBackendStepInput.getRecords(), uniqueKey).keySet());
|
||||||
ukErrorSummaries.computeIfAbsent(uniqueKey, x -> new ProcessSummaryLine(Status.ERROR));
|
ukErrorSummaries.computeIfAbsent(uniqueKey, x -> new ProcessSummaryLine(Status.ERROR));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user