feat(dal, templateDistributor): шаблон для templateDistributor
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using PARR.DAL.DomainModels;
|
||||
using PARR.Constants;
|
||||
using PARR.DAL.DomainModels;
|
||||
|
||||
namespace PARR.DAL.TransformServices
|
||||
{
|
||||
@@ -38,5 +39,15 @@ namespace PARR.DAL.TransformServices
|
||||
/// <param name="lastRun"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<DateTimeOffset>> GetNextScheduleAsync(Guid applicationInWorkId, DateTimeOffset lastRun);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Получить следующую дату срабатывания в указанном периоде
|
||||
/// </summary>
|
||||
/// <param name="lastRun"></param>
|
||||
/// <param name="periodType"></param>
|
||||
/// <param name="distributionPeriod"></param>
|
||||
/// <returns></returns>
|
||||
DateTimeOffset GetNextDateForDistributionRun(DateTimeOffset lastRun, DistributionPeriodTypeEnum periodType, string distributionPeriod);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user