取消笛卡尔积运算
This commit is contained in:
@@ -29,6 +29,7 @@ public sealed class MakeupExamArrangementService(AppDbContext db)
|
||||
.Include(x => x.Sessions)
|
||||
.ThenInclude(x => x.TeachingTask)
|
||||
.ThenInclude(x => x!.Course)
|
||||
.AsSplitQuery()
|
||||
.FirstOrDefaultAsync(x => x.Id == planId, cancellationToken);
|
||||
|
||||
if (plan is null)
|
||||
|
||||
Reference in New Issue
Block a user