fix:成绩提交显示500实际提交成功

This commit is contained in:
biss committed 2026-08-15 08:50:56 +08:00
1 parent f00fac7bca
commit d7d2560587
4 files changed
+153 -2

No files matched your search

@@ -549,6 +549,8 @@ public sealed class GradesController(
.Include(x => x.Records)
.ThenInclude(x => x.ItemScores)
.Include(x => x.TeachingTask)
.ThenInclude(x => x!.Course)
.Include(x => x.TeachingTask)
.ThenInclude(x => x!.Teachers)
.ThenInclude(x => x.Teacher)
.FirstOrDefaultAsync(x => x.Id == id, cancellationToken);