This commit is contained in:
2021-12-23 00:54:31 +00:00
parent fe36b2f9bc
commit 7d357270f6
3 changed files with 9 additions and 9 deletions

View File

@@ -940,9 +940,9 @@ namespace AyaNova.Biz
//
public async Task<JArray> GetReportData(DataListSelectedRequest dataListSelectedRequest)
{
#if (DEBUG)
var watch = System.Diagnostics.Stopwatch.StartNew();
#endif
// #if (DEBUG)
// var watch = System.Diagnostics.Stopwatch.StartNew();
// #endif
//workorder reports for entire workorder or just sub parts all go through here
//if the ayatype is a descendant of the workorder then only the portion of the workorder from that descendant directly up to the header will be populated and returned
//however if the report template has includeWoItemDescendants=true then the woitems is fully populated
@@ -982,10 +982,10 @@ namespace AyaNova.Biz
ReportData.Add(jo);
}
}
#if (DEBUG)
watch.Stop();
System.Diagnostics.Debug.WriteLine($"Workorderbiz::GetReportData took ms: {watch.ElapsedMilliseconds}");
#endif
// #if (DEBUG)
// watch.Stop();
// System.Diagnostics.Debug.WriteLine($"Workorderbiz::GetReportData took ms: {watch.ElapsedMilliseconds}");
// #endif
return ReportData;
}

File diff suppressed because one or more lines are too long