This commit is contained in:
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@@ -47,7 +47,7 @@
|
||||
"AYANOVA_DB_CONNECTION": "Server=localhost;Username=postgres;Password=raven;Database=AyaNova;CommandTimeout=120;",
|
||||
"AYANOVA_DATA_PATH": "c:\\temp\\ravendata",
|
||||
"AYANOVA_USE_URLS": "http://*:7575;",
|
||||
"AYANOVA_SERVER_TEST_MODE": "false",
|
||||
"AYANOVA_SERVER_TEST_MODE": "true",
|
||||
"AYANOVA_REPORT_RENDERING_MAX_INSTANCES":"1",
|
||||
// "AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small",
|
||||
"AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_14\\bin\\"
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user