Bug Fix: Statistics for Quick-Logged Jobs
Jobs now perform a check when Quick-Logged and update Statistics accordingly.
This commit is contained in:
@@ -100,7 +100,6 @@ namespace Disco.BI.JobBI.Statistics
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
DateTime? previousValue = e.GetPreviousPropertyValue<DateTime?>("ClosedDate");
|
DateTime? previousValue = e.GetPreviousPropertyValue<DateTime?>("ClosedDate");
|
||||||
DateTime? currentValue = e.GetCurrentPropertyValue<DateTime?>("ClosedDate");
|
|
||||||
|
|
||||||
if (previousValue.HasValue)
|
if (previousValue.HasValue)
|
||||||
{
|
{
|
||||||
@@ -116,6 +115,9 @@ namespace Disco.BI.JobBI.Statistics
|
|||||||
affectedStat.TotalJobs += 1;
|
affectedStat.TotalJobs += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
DateTime? currentValue = e.GetCurrentPropertyValue<DateTime?>("ClosedDate");
|
||||||
|
|
||||||
if (currentValue.HasValue)
|
if (currentValue.HasValue)
|
||||||
{
|
{
|
||||||
@@ -133,7 +135,6 @@ namespace Disco.BI.JobBI.Statistics
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private static DailyOpenedClosedItem Data(DiscoDataContext Database, DateTime ProcessDate)
|
private static DailyOpenedClosedItem Data(DiscoDataContext Database, DateTime ProcessDate)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user