- Timestamp:
- 09/21/15 16:15:47 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Services.WebApp.Maintenance/3.3/WebApi/FactTaskController.cs
r12858 r12961 39 39 var factTaskDao = pm.FactTaskDao; 40 40 return pm.UseTransaction(() => { 41 var query = dimJobDao.GetAll().Where(x => x.DateCreated >= start && x.DateCreated <= end );41 var query = dimJobDao.GetAll().Where(x => x.DateCreated >= start && x.DateCreated <= end && x.DateCompleted != null); 42 42 return new DT.JobPage { 43 43 TotalJobs = query.Count(), … … 69 69 var dimJobDao = pm.DimJobDao; 70 70 var jobIds = pm.UseTransaction(() => dimJobDao.GetAll() 71 .Where(x => x.DateCreated >= start && x.DateCreated <= end )71 .Where(x => x.DateCreated >= start && x.DateCreated <= end && x.DateCompleted != null) 72 72 .Select(x => x.JobId) 73 73 .ToList()
Note: See TracChangeset
for help on using the changeset viewer.