|
@@ -636,7 +636,7 @@ namespace TEAMModelOS.Controllers
|
|
|
var client = _azureCosmos.GetCosmosClient();
|
|
|
List<object> stuList = new List<object>();
|
|
|
//List<int> stuCount = new List<int>();
|
|
|
- var query = $"select c.id,c.name,c.students,c.tmids,c.periodId from c";
|
|
|
+ var query = $"select c.id,c.name,c.students,c.tmids,c.periodId,c.no from c";
|
|
|
if (scope.ToString().Equals("school", StringComparison.OrdinalIgnoreCase))
|
|
|
{
|
|
|
await foreach (var item in client.GetContainer(Constant.TEAMModelOS, "School").GetItemQueryStreamIterator(queryText: query, requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey($"StuList-{code}") }))
|