dev #9

Merged
hy merged 11 commits from dev into master 2025-08-26 20:11:08 +08:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 070057ba96 - Show all commits

View File

@ -220,6 +220,7 @@ namespace Learn.Archives.API.Controllers
GradeYear = classInfo.GraduationYear,
PeopleCount = classUserArr.Count(),
MinScore = int.MaxValue,
MaxScore = -99,
BaseSchoolScore = exam.BaseSchoolScore,
TestPaperType = exam.TestPaperType,
Type = exam.Type,
@ -236,7 +237,7 @@ namespace Learn.Archives.API.Controllers
//最大小分
if (v < eCInfo.MinScore)
eCInfo.MinScore = v;
else if (v > eCInfo.MaxScore)
if (v > eCInfo.MaxScore)
eCInfo.MaxScore = v;
avgTotal += v;//追加得分
}