|
@@ -394,7 +394,8 @@ namespace TEAMModelFunction
|
|
|
tmdids.ForEach(x => { inids.Add($"'{x}'"); });
|
|
|
var insql = string.Join(",", inids);
|
|
|
var queryslt = $"SELECT value(c) FROM c where c.id in ({insql})";
|
|
|
- await foreach (var item in client.GetContainer("TEAMModelOS", "Teacher").GetItemQueryIterator<TmdInfo>(queryText: queryslt, requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey($"Base") }))
|
|
|
+ //合并代码/
|
|
|
+ await foreach (var item in client.GetContainer(Constant.TEAMModelOS, "Student").GetItemQueryIterator<TmdInfo>(queryText: queryslt, requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey($"Base") }))
|
|
|
{
|
|
|
infos.Add(item);
|
|
|
}
|