|
@@ -841,6 +841,9 @@ namespace TEAMModelBI.Controllers.Census
|
|
|
|
|
|
await foreach (var item in cosmosClient.GetContainer(Constant.TEAMModelOS, "School").GetItemQueryIterator<BIRelStats>(queryText: scSql.ToString(), requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey("BIRel") }))
|
|
|
{
|
|
|
+ if (item.serial == null) item.serial = new List<string>();
|
|
|
+ if (item.service == null) item.service = new List<string>();
|
|
|
+ if (item.hard == null) item.hard = new List<string>();
|
|
|
bIRelStats.Add(item);
|
|
|
tempProduct.AddRange(item.serial);
|
|
|
tempProduct.AddRange(item.service);
|