Ignore:
Timestamp:
01/29/18 17:38:50 (3 years ago)
Author:
jzenisek
Message:

#2839 implemented project facts-logging in HiveStatisticsGenerator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveProjectManagement/HeuristicLab.Services.Hive.DataAccess/3.3/Daos/TaskDao.cs

    r15644 r15666  
    9393
    9494    #region String queries
    95     private const string GetParentTasksQueryString = @"
    96       SELECT t.* FROM [Task] t, [Job] j, [AssignedJobResource] ajr
    97         WHERE t.IsParentTask = 1
    98         AND t.TaskState = 'Waiting'
     95    private const string GetCalculatingChildTasksByProjectId = @"
     96      SELECT t.* FROM [Task] t, [Job] j
     97        WHERE t.IsParentTask = 0
     98        AND t.TaskState = 'Calculating'
    9999        AND t.JobId = j.JobId
    100         AND j.JobId = ajr.JobId
    101         AND t.FinishWhenChildJobsFinished = 1
    102         ... TODO (not necessary)
     100        AND j.ProjectId = {0}
     101        ORDER BY j.ProjectId
    103102    ";
    104103    private const string GetWaitingTasksQueryString = @"
Note: See TracChangeset for help on using the changeset viewer.