feat(dal): ShortcodesService добавлена обработка динамичесих составляющих "%СВЯЗИ%", "%ТНК-КРАТКО%"
This commit is contained in:
@@ -10,10 +10,8 @@ using PARR.API.Contracts.V1.Responses.Base;
|
||||
using PARR.API.Controllers.V1.Base;
|
||||
using PARR.Constants;
|
||||
using PARR.DAL.DomainServices.Interfaces;
|
||||
using PARR.DAL.Models.Job;
|
||||
using PARR.DAL.Services.Interfaces.Job;
|
||||
using PARR.DAL.Services.Interfaces.Unit;
|
||||
using static PARR.API.Contracts.V1.ApiRoutes;
|
||||
using Job = PARR.DAL.Models.Job.Job;
|
||||
|
||||
namespace PARR.API.Controllers.V1
|
||||
@@ -66,8 +64,8 @@ namespace PARR.API.Controllers.V1
|
||||
var job = mapper.Map<Job>(request);
|
||||
|
||||
var jobGroup = await jobGroupService.Get().AsNoTracking()
|
||||
.Include(t=>t.GroupType)
|
||||
.FirstAsync(t=>t.Id == job.GroupId);
|
||||
.Include(t => t.GroupType)
|
||||
.FirstAsync(t => t.Id == job.GroupId);
|
||||
job.Group = jobGroup;
|
||||
|
||||
var unitIds = await unitFilterService.GetUnitsIdByJobFilterAsync(job, 100);
|
||||
|
||||
Reference in New Issue
Block a user