|
@@ -883,7 +883,7 @@ namespace TEAMModelOS.Controllers.Common
|
|
var (userid, _, _, school) = HttpContext.GetAuthTokenInfo();
|
|
var (userid, _, _, school) = HttpContext.GetAuthTokenInfo();
|
|
List<object> works = new();
|
|
List<object> works = new();
|
|
await foreach (var item in client.GetContainer(Constant.TEAMModelOS, "Student").GetItemQueryStreamIterator(
|
|
await foreach (var item in client.GetContainer(Constant.TEAMModelOS, "Student").GetItemQueryStreamIterator(
|
|
- queryText: $"select c.stuId,c.attachments from c where c.classId = '{classId}' and c.acId = '{id}' and c.subject = '{subject}'",
|
|
|
|
|
|
+ queryText: $"select c.stuId,c.attachments,c.isAnswer,c.createTime,c.url from c where c.classId = '{classId}' and c.acId = '{id}' and c.subject = '{subject}'",
|
|
requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey($"ArtRecord") }))
|
|
requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey($"ArtRecord") }))
|
|
{
|
|
{
|
|
using var json = await JsonDocument.ParseAsync(item.ContentStream);
|
|
using var json = await JsonDocument.ParseAsync(item.ContentStream);
|