|
@@ -1254,7 +1254,7 @@ namespace TEAMModelOS.Controllers
|
|
|
List<string> sIds = new();
|
|
|
List<string> tIds = new();
|
|
|
List<ufo> students = new List<ufo>();
|
|
|
- await foreach (var item in client.GetContainer(Constant.TEAMModelOS, "Student").GetItemQueryStreamIterator(queryText: $"select c.id,c.name where c.id in ({string.Join(",", ids.Select(o => $"'{o}'"))})",
|
|
|
+ await foreach (var item in client.GetContainer(Constant.TEAMModelOS, "Student").GetItemQueryStreamIterator(queryText: $"select c.id,c.name from c where c.id in ({string.Join(",", ids.Select(o => $"'{o}'"))})",
|
|
|
requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey($"Base-{school}") }))
|
|
|
{
|
|
|
using var stuJson = await JsonDocument.ParseAsync(item.ContentStream);
|