|
@@ -61,9 +61,9 @@ namespace TEAMModelOS.SDK.Models.Service
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public static async Task<List<(string name, List<(string classId, double average)> classMore, double total,List<(string studentId, double scores, string classId)>students )>> getGradeScore(CoreAPIHttpService _coreAPIHttpService, DingDing _dingDing, CosmosClient client, List<string> classIds, string periodId, string schooCode,List<string> examType, long stime, long etime)
|
|
|
+ public static async Task<List<(string name, List<(string classId, double average)> classMore, double total,List<(string studentId, double scores, string classId)>students,long time )>> getGradeScore(CoreAPIHttpService _coreAPIHttpService, DingDing _dingDing, CosmosClient client, List<string> classIds, string periodId, string schooCode,List<string> examType, long stime, long etime)
|
|
|
{
|
|
|
- List<(string name, List<(string classId,double average)> classMore, double total, List<(string studentId, double scores, string classId)> stus)> grades = new();
|
|
|
+ List<(string name, List<(string classId,double average)> classMore, double total, List<(string studentId, double scores, string classId)> stus,long time)> grades = new();
|
|
|
//List<(string grade, double score)> grades = new();
|
|
|
try
|
|
|
{
|
|
@@ -165,7 +165,7 @@ namespace TEAMModelOS.SDK.Models.Service
|
|
|
var persent = Math.Round(scroe * 1.0 / totalScore, 2);
|
|
|
stus.Add((member.id, persent, member.classId));
|
|
|
}
|
|
|
- grades.Add((info.name, classMore, gradeScores, stus));
|
|
|
+ grades.Add((info.name, classMore, gradeScores, stus,info.startTime));
|
|
|
}
|
|
|
}
|
|
|
}
|