add: enhance ProjectBoardListQueryHandler and ProjectPhase to manage task section statuses and deployment states

This commit is contained in:
2025-12-23 14:52:41 +03:30
parent 1bfe41418b
commit e661bc2dcb
3 changed files with 28 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ public class ProjectBoardListQueryHandler : IBaseQueryHandler<ProjectBoardListQu
{
var currentUserId = _authHelper.GetCurrentUserId();
var queryable = _programManagerDbContext.TaskSections.AsNoTracking()
.Where(x => x.InitialEstimatedHours > TimeSpan.Zero)
.Where(x => x.InitialEstimatedHours > TimeSpan.Zero && x.Status != TaskSectionStatus.Completed)
.Include(x => x.Task)
.ThenInclude(x => x.Phase)
.ThenInclude(x => x.Project)