feat(dal): NextRunService - получение актуального nextRun для нового или существующего шаблона

This commit is contained in:
Mikhail Trubnikov
2026-01-21 15:36:54 +10:00
parent 5ad26742e6
commit b83438d6ca
3 changed files with 119 additions and 18 deletions

View File

@@ -23,7 +23,14 @@ namespace PARR.Test.NextRun
//await DistributeTemplatesAsync();
//await GetValidNextRunForTemplateAsync();
var result = await nextRunService.GetNextRunForJobGroupWithAutoDistributionAsync(Guid.Parse("eadc5498-dba6-4f10-9b4b-a1653e3c3e61"));
// распределить шаблоны (не сохраняя в БД)
//var result = await nextRunService.GetNextRunForJobGroupWithAutoDistributionAsync(Guid.Parse("eadc5498-dba6-4f10-9b4b-a1653e3c3e61"));
// получить nextRun для еще не созданного шаблона
//var nextRunForNullTemplate = await nextRunService.GetNextRunForNewTemplateAsync(Guid.Parse("eadc5498-dba6-4f10-9b4b-a1653e3c3e61"));
// получить nextRun для существующего шаблона
// var nextRunForExistTemplate = await nextRunService.GetNextRunForTemplateAsync(Guid.Parse("20fc3581-984e-4c9a-8b46-8a55c3401725"), false);
}