feat(all): ! Критические изменения логики работы всех сервисорв, База Данных имееет неокончательную версию. Template, Scheduler переведены на работу с Unit+Job+JobGroup вместо Host+ApplicationsInWork
This commit is contained in:
@@ -9,16 +9,16 @@ namespace PARR.DAL.Services.Interfaces
|
||||
/// <summary>
|
||||
/// Формирует расписание в нормальном понятном виде из БД синхронно
|
||||
/// </summary>
|
||||
/// <param name="applicationInWorksId"></param>
|
||||
/// <param name="jobGroupId"></param>
|
||||
/// <returns></returns>
|
||||
EsppScheduleDto? GetEsppScheduleDto(Guid applicationInWorksId);
|
||||
EsppScheduleDto? GetEsppScheduleDto(Guid jobGroupId);
|
||||
|
||||
/// <summary>
|
||||
/// Формирует расписание в нормальном понятном виде из БД асинхронно
|
||||
/// </summary>
|
||||
/// <param name="applicationInWorksId"></param>
|
||||
/// <param name="jobGroupId"></param>
|
||||
/// <returns></returns>
|
||||
Task<EsppScheduleDto?> GetEsppScheduleDtoAsync(Guid applicationInWorksId);
|
||||
Task<EsppScheduleDto?> GetEsppScheduleDtoAsync(Guid jobGroupId);
|
||||
|
||||
IQueryable<EsppSchTypeConfig> GetWithSchIncludes();
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace PARR.DAL.Services.Interfaces.Job
|
||||
{
|
||||
public interface IJobDetailsService : IBaseService<Models.Job.JobUnitFilter>
|
||||
public interface IJobUnitFilterService : IBaseService<Models.Job.JobUnitFilter>
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
8
PARR.DAL/Services/Interfaces/Job/IJobGroupService.cs
Normal file
8
PARR.DAL/Services/Interfaces/Job/IJobGroupService.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using PARR.DAL.Services.Interfaces.Base;
|
||||
|
||||
namespace PARR.DAL.Services.Interfaces.Job
|
||||
{
|
||||
public interface IJobGroupService : IBaseService<Models.Job.JobGroup>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -4,5 +4,6 @@ namespace PARR.DAL.Services.Interfaces.Unit
|
||||
{
|
||||
public interface IUnitService : IBaseService<Models.Unit.Unit>
|
||||
{
|
||||
IQueryable<Models.Unit.Unit> GetWithIncludes();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user