fix(api): Task - получение статусов задач, доработка отчетов workload
This commit is contained in:
@@ -6,6 +6,7 @@ using PARR.API.MappingProfiles.Resolvers;
|
||||
using PARR.Core.Repositories.Interfaces.Schedule;
|
||||
using PARR.Domain.DTOs.Matching;
|
||||
using PARR.Domain.DTOs.Shortcode;
|
||||
using PARR.Domain.DTOs.TaskDTO;
|
||||
using PARR.Domain.DTOs.Workload;
|
||||
using PARR.Domain.Entities;
|
||||
using PARR.Domain.Entities.Base.History;
|
||||
@@ -445,6 +446,25 @@ namespace PARR.API.MappingProfiles
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#region Task
|
||||
|
||||
//CreateMap<TaskItemBase, TaskItemBaseResponse>()
|
||||
// .Include<TaskItemBase, TaskItemResponse>()
|
||||
// .Include<TaskItemBase, ActiveTaskResponse>();
|
||||
|
||||
//CreateMap<TaskItemBase, TaskItemResponse>();
|
||||
|
||||
CreateMap<ActiveTask, ActiveTaskResponse>();
|
||||
|
||||
// ---
|
||||
|
||||
CreateMap<TaskType, TaskItemTypeResponse>();
|
||||
|
||||
CreateMap<PARR.Domain.DTOs.TaskDTO.TaskStatus, TaskItemStatusResponse>();
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user