Commit bd6ab0fa authored by liudong1993's avatar liudong1993

1

parent c313440f
...@@ -122,7 +122,7 @@ namespace EduSpider.Services ...@@ -122,7 +122,7 @@ namespace EduSpider.Services
AvgScore = Math.Round(x.AvgScore, 6, MidpointRounding.AwayFromZero), AvgScore = Math.Round(x.AvgScore, 6, MidpointRounding.AwayFromZero),
AvgScoreRate = Math.Round(x.AvgScore / x.QScore, 2, MidpointRounding.AwayFromZero), AvgScoreRate = Math.Round(x.AvgScore / x.QScore, 2, MidpointRounding.AwayFromZero),
}), }),
ModuleList = sExamModel?.ScoreList.GroupBy(x => new { x.KnowledgePoint }).Select(x => new ModuleList = sExamModel?.ScoreList.GroupBy(x => new { x.KnowledgePoint }).Take(8).Select(x => new
{ {
Module = x.Key.KnowledgePoint, Module = x.Key.KnowledgePoint,
Score = x.Sum(y => y.QScore), Score = x.Sum(y => y.QScore),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment