feat(dal): templateDistributor теперь распределяет с учетом московского времени
This commit is contained in:
@@ -6,12 +6,12 @@ namespace PARR.Test.NextRun
|
||||
{
|
||||
internal class NextRunTest
|
||||
{
|
||||
private readonly ITemplateDistributor templateDistributor;
|
||||
//private readonly ITemplateDistributor templateDistributor;
|
||||
private readonly INextRunService nextRunService;
|
||||
|
||||
public NextRunTest(ITemplateDistributor templateDistributor, INextRunService nextRunService)
|
||||
public NextRunTest(/*ITemplateDistributor templateDistributor, */INextRunService nextRunService)
|
||||
{
|
||||
this.templateDistributor = templateDistributor;
|
||||
//this.templateDistributor = templateDistributor;
|
||||
this.nextRunService = nextRunService;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace PARR.Test.NextRun
|
||||
public async Task Test()
|
||||
{
|
||||
// GetWorkDaysTESTAsync
|
||||
var aaa = await templateDistributor.GetWorkDaysTESTAsync(GetDateStart(), GetDateStart().AddDays(periodDays), true, referenceDate);
|
||||
//var aaa = await templateDistributor.GetWorkDaysTESTAsync(GetDateStart(), GetDateStart().AddDays(periodDays), true, referenceDate);
|
||||
|
||||
//await DistributeTemplatesAsync();
|
||||
//await GetValidNextRunForTemplateAsync();
|
||||
|
||||
Reference in New Issue
Block a user