|
@@ -118,7 +118,7 @@ namespace TEAMModelOS.SDK.Models.Service
|
|
code = $"LessonCount-{year}";
|
|
code = $"LessonCount-{year}";
|
|
tbname = "Teacher";
|
|
tbname = "Teacher";
|
|
}
|
|
}
|
|
- var response = await client.GetContainer(Constant.TEAMModelOS, tbname).ReadItemStreamAsync(data.id.ToString(), new PartitionKey(code));
|
|
|
|
|
|
+ var response = await client.GetContainer(Constant.TEAMModelOS, tbname).ReadItemStreamAsync(data.tmdid.ToString(), new PartitionKey(code));
|
|
if (response.Status == 200)
|
|
if (response.Status == 200)
|
|
{
|
|
{
|
|
using var json = await JsonDocument.ParseAsync(response.ContentStream);
|
|
using var json = await JsonDocument.ParseAsync(response.ContentStream);
|