forked from wangziqi/gongxue-base
Critical 1: Remove broken '钉钉绑定' tab (IntegConfig) — deleted /rbac/user-ding-mappings calls
Critical 2: Fix decorator placement in CreateClassDto — @IsOptional @IsArray restored to teachers
Important 1: Restore sync.service.spec.ts from 1fa3363, strip importDingTalkUsers tests
Important 2: Fix N+1 in batchImportStudents — batched find/save with In() operator
Important 3: Add migrate-student-ding-mapping.sql
814 B
814 B
Task 7 — Cleanup test files
Sync service spec
apps/server/src/sync/sync.service.spec.tswas already deleted in commit7b86918(Task 4: remove importDingTalkUsers). No action needed.
Attendance service spec
apps/server/src/attendance/attendance.service.spec.tsalready usesStudentDingMapping(lines 12, 42). NoUserDingMappingreferences remain. Updated in commitef1b46b.
Verification
npx tsc --noEmitin apps/server: 277 diagnostics, all pre-existing jest type errors (@types/jestnot installed). Zero errors related toUserDingMappingorStudentDingMapping.- No files to commit — both targets are already clean.
Conclusion
Task complete with zero changes needed. Previous tasks (Task 4 entity rename, Task 2 import swap) already handled these test updates.