feat(api): RobotTaskScheduleResponse

This commit is contained in:
Mikhail Trubnikov
2023-10-10 16:58:05 +10:00
parent e60e0ec9c7
commit a4dde4c59a
4 changed files with 42 additions and 15 deletions

View File

@@ -50,8 +50,6 @@ namespace PARR.API.Controllers.V1
case RobotsEnum.TemplateOrder:
query = query.Include(t => t.Template)
.ThenInclude(t => t!.Host).ThenInclude(t => t!.ResponseArea)
.Include(t => t.Template)
.ThenInclude(t => t!.Host)
.Include(t => t.Template)
.ThenInclude(a => a!.ApplicationsInWork)
.ThenInclude(w => w!.Work)
@@ -60,6 +58,8 @@ namespace PARR.API.Controllers.V1
.ThenInclude(p => p!.Process);
break;
case RobotsEnum.ScheduleOrder:
query = query.Include(t => t.Template)
.ThenInclude(t => t!.Host).ThenInclude(t => t!.ResponseArea);
//todo: include
break;
default: