zhouj1203@hotmail.com 1 jaar geleden
bovenliggende
commit
6027d334be
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      TEAMModelOS/Controllers/Common/AreaController.cs

+ 1 - 1
TEAMModelOS/Controllers/Common/AreaController.cs

@@ -1082,7 +1082,7 @@ namespace TEAMModelOS.Controllers
                             if (string.IsNullOrWhiteSpace(examId)) { continue; }
                             List<ExamResult> examResults = new();
                             List<KeyValuePair<string, List<(string name, double score)>>> pointPersent = new();
-                            ExamInfo info = await client.GetContainer(Constant.TEAMModelOS, "Common").ReadItemAsync<ExamInfo>(examId.ToString(), new PartitionKey($"Exam-{code}"));
+                            //ExamInfo info = await client.GetContainer(Constant.TEAMModelOS, "Common").ReadItemAsync<ExamInfo>(examId.ToString(), new PartitionKey($"Exam-{code}"));
                             var query = $"select c.id,c.name,c.subjectId,c.studentScores,c.studentIds,c.paper,c.classes,c.sRate,c.average,c.standard,c.lostStus,c.record,c.phc,c.plc from c where c.examId = '{examId}' and c.subjectId = '{sj.id}' ";
                             await foreach (var item in client.GetContainer(Constant.TEAMModelOS, "Common").GetItemQueryIterator<ExamResult>(queryText: query, requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey($"ExamResult-{examId}") }))
                             {