zhouj1203@hotmail.com 1 year ago
parent
commit
d567157a25
1 changed files with 2 additions and 1 deletions
  1. 2 1
      TEAMModelOS.FunctionV4/CosmosDB/TriggerExam.cs

+ 2 - 1
TEAMModelOS.FunctionV4/CosmosDB/TriggerExam.cs

@@ -502,11 +502,12 @@ namespace TEAMModelOS.FunctionV4
                                             {
                                                 ItemScore item = new()
                                                 {
+                                                    id = sj.id,
                                                     name = sj.name,
                                                     score = subScore.Where(c => c.subjectId.Equals(sj.id)).FirstOrDefault().score,
                                                     time = info.startTime,
                                                     totalScore = info.papers[index].point.Sum(),
-                                                    type = sj.id
+                                                    //type = sj.id
                                                 };
                                                 index++;
                                                 semesterData.itemScore.Add(item);