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

2
.vscode/launch.json vendored
View File

@@ -47,7 +47,7 @@
"AYANOVA_DB_CONNECTION": "Server=localhost;Username=postgres;Password=raven;Database=AyaNova;CommandTimeout=120;", "AYANOVA_DB_CONNECTION": "Server=localhost;Username=postgres;Password=raven;Database=AyaNova;CommandTimeout=120;",
"AYANOVA_DATA_PATH": "c:\\temp\\ravendata", "AYANOVA_DATA_PATH": "c:\\temp\\ravendata",
"AYANOVA_USE_URLS": "http://*:7575;", "AYANOVA_USE_URLS": "http://*:7575;",
"AYANOVA_SERVER_TEST_MODE": "false", "AYANOVA_SERVER_TEST_MODE": "true",
"AYANOVA_REPORT_RENDERING_MAX_INSTANCES":"1", "AYANOVA_REPORT_RENDERING_MAX_INSTANCES":"1",
// "AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small", // "AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small",
"AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_14\\bin\\" "AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_14\\bin\\"

View File

@@ -940,9 +940,9 @@ namespace AyaNova.Biz
// //
public async Task<JArray> GetReportData(DataListSelectedRequest dataListSelectedRequest) public async Task<JArray> GetReportData(DataListSelectedRequest dataListSelectedRequest)
{ {
#if (DEBUG) // #if (DEBUG)
var watch = System.Diagnostics.Stopwatch.StartNew(); // var watch = System.Diagnostics.Stopwatch.StartNew();
#endif // #endif
//workorder reports for entire workorder or just sub parts all go through here //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 //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 //however if the report template has includeWoItemDescendants=true then the woitems is fully populated
@@ -982,10 +982,10 @@ namespace AyaNova.Biz
ReportData.Add(jo); ReportData.Add(jo);
} }
} }
#if (DEBUG) // #if (DEBUG)
watch.Stop(); // watch.Stop();
System.Diagnostics.Debug.WriteLine($"Workorderbiz::GetReportData took ms: {watch.ElapsedMilliseconds}"); // System.Diagnostics.Debug.WriteLine($"Workorderbiz::GetReportData took ms: {watch.ElapsedMilliseconds}");
#endif // #endif
return ReportData; return ReportData;
} }

File diff suppressed because one or more lines are too long