refactor: remove departmentId from Class entity

This commit is contained in:
2026-07-09 17:32:37 +08:00
parent 40fef906cd
commit 22bc1876d8
9 changed files with 4 additions and 116 deletions

View File

@@ -128,7 +128,7 @@ export class AttendanceService {
status: 'pending',
source: 'schedule',
});
entity.departmentId = cs.student?.departmentId ?? cls.departmentId ?? undefined;
entity.departmentId = cs.student?.departmentId ?? undefined;
entities.push(entity);
existingKeys.add(key);
}