已修复实验批量排课报错。

This commit is contained in:
biss committed 2026-08-08 15:37:34 +08:00
1 parent a215f8fc29
commit cc04270c2a
2 files changed
+34 -1

No files matched your search

@@ -574,7 +574,7 @@ public sealed class ExperimentsController(
var projects = await ScopedProjects()
.Include(x => x.TeachingTask)
.ThenInclude(x => x!.AcademicTerm)
.Where(x => projectIds.Contains(x.Id))
.WhereIn(projectIds, x => x.Id)
.ToDictionaryAsync(x => x.Id, cancellationToken);
if (projects.Count != projectIds.Count)
return ValidationProblem(