hhb 7 月之前
父节点
当前提交
14b665e2f2
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      TEAMModelOS.Function/CosmosDBTriggers/TriggerExam.cs

+ 2 - 2
TEAMModelOS.Function/CosmosDBTriggers/TriggerExam.cs

@@ -1887,9 +1887,9 @@ namespace TEAMModelOS.CosmosDBTriggers
             result.scope = info.scope;
             result.name = info.name;
             result.time = info.startTime;
-            if (info.qamode != 2) {
+            //if (info.qamode != 2) {
                 await examRecordCount(info, subject, _dingDing, no, result, examClassResults, _azureCosmos);
-            }          
+            //}          
             await _azureCosmos.GetCosmosClient().GetContainer(Constant.TEAMModelOS, "Common").UpsertItemAsync(result, new PartitionKey($"ExamResult-{info.id}"));
             List<ErrorItems> errorItems = new();
             string code = string.Empty;