|
@@ -1293,7 +1293,7 @@ namespace TEAMModelOS.FunctionV4
|
|
|
List<string> lostStu = new List<string>();
|
|
|
List<double> csRate = new List<double>();
|
|
|
List<List<List<string>>> opt = new List<List<List<string>>>();
|
|
|
- List<Task<ItemResponse<ExamClassResult>>> tasks = new();
|
|
|
+ //List<Task<ItemResponse<ExamClassResult>>> tasks = new();
|
|
|
foreach (ExamClassResult classResult in examClassResults)
|
|
|
{
|
|
|
double classSrate = 0;
|
|
@@ -1372,9 +1372,9 @@ namespace TEAMModelOS.FunctionV4
|
|
|
//powSum += Math.Pow(classSrate - result.average, 2);
|
|
|
//处理选项计数内容
|
|
|
}
|
|
|
- tasks.Add(_azureCosmos.GetCosmosClient().GetContainer(Constant.TEAMModelOS, "Common").ReplaceItemAsync(classResult, classResult.id, new PartitionKey($"{classResult.code}")));
|
|
|
+ //tasks.Add(_azureCosmos.GetCosmosClient().GetContainer(Constant.TEAMModelOS, "Common").ReplaceItemAsync(classResult, classResult.id, new PartitionKey($"{classResult.code}")));
|
|
|
}
|
|
|
- await tasks.TaskPage(10);
|
|
|
+ //await tasks.TaskPage(10);
|
|
|
/*foreach (string id in result.lostStus) {
|
|
|
if (!examClassResults[0].studentIds.Contains(id)) {
|
|
|
int index = result.lostStus.IndexOf(id);
|