zhouj1203@hotmail.com 1 рік тому
батько
коміт
ecb5789f52
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      TEAMModelOS.FunctionV4/CosmosDB/TriggerArt.cs

+ 1 - 1
TEAMModelOS.FunctionV4/CosmosDB/TriggerArt.cs

@@ -662,7 +662,7 @@ namespace TEAMModelOS.FunctionV4.CosmosDB
                                             score = rs.subjectScores.Where(x => x.subjectId.Equals(sj.id)).FirstOrDefault().score,
                                             score = rs.subjectScores.Where(x => x.subjectId.Equals(sj.id)).FirstOrDefault().score,
                                             time = art.startTime,
                                             time = art.startTime,
                                             totalScore = 100,
                                             totalScore = 100,
-                                            type = sj.id,
+                                            id = sj.id,
                                             block = blocks.Where(c => c.subjectId.Equals(sj.id))?.FirstOrDefault().dim,
                                             block = blocks.Where(c => c.subjectId.Equals(sj.id))?.FirstOrDefault().dim,
                                             kno = studentScores.Where(c => c.stuId.Equals(rs.studentId)).SelectMany(c => c.studentScore).Where(
                                             kno = studentScores.Where(c => c.stuId.Equals(rs.studentId)).SelectMany(c => c.studentScore).Where(
                                                 p => p.subject.Equals(sj.id)).Select(z => new { 
                                                 p => p.subject.Equals(sj.id)).Select(z => new {