feat(api,dal): в модель JobGroupType добавлено поле description. В job контроллерах убрано поле isUmbrella, добавлено JobType.
This commit is contained in:
@@ -160,7 +160,7 @@ namespace PARR.DAL.DomainServices.Implementations
|
||||
//фильтруем по количеству связей
|
||||
if (job.Group?.IsUmbrella == true)
|
||||
{
|
||||
if (job.isParentRelationships == true)
|
||||
if (job.IsParentRelationships == true)
|
||||
query = query.Where(t => t.ParentUnits.Count >= job.MinValueRelationships && t.ParentUnits.Count <= job.MaxValueRelationships);
|
||||
else
|
||||
query = query.Where(t => t.ChildUnits.Count >= job.MinValueRelationships && t.ChildUnits.Count <= job.MaxValueRelationships);
|
||||
|
||||
Reference in New Issue
Block a user